1 #-------------------------------------------------------------------------
2 # drawElements CMake utilities
3 # ----------------------------
5 # Copyright (c) 2016 The Khronos Group Inc.
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 #-------------------------------------------------------------------------
21 message("*** Using Wayland target")
22 set(DEQP_TARGET_NAME "Wayland")
25 set(DEQP_USE_WAYLAND ON)
27 # Add FindWayland module
28 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/targets/default")
31 if (NOT WAYLAND_FOUND)
32 message(FATAL_ERROR "Wayland development package not found")
35 set(DEQP_PLATFORM_LIBRARIES ${WAYLAND_LIBRARIES})
36 include_directories(${WAYLAND_INCLUDE_DIR})