projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set the library path for GLESv1 and GLESv2
[platform/upstream/VK-GL-CTS.git]
/
targets
/
wayland
/
wayland.cmake
diff --git
a/targets/wayland/wayland.cmake
b/targets/wayland/wayland.cmake
index
8adc417
..
a9de5cc
100644
(file)
--- a/
targets/wayland/wayland.cmake
+++ b/
targets/wayland/wayland.cmake
@@
-24,6
+24,14
@@
set(DEQP_TARGET_NAME "Wayland")
# Use Wayland target
set(DEQP_USE_WAYLAND ON)
# Use Wayland target
set(DEQP_USE_WAYLAND ON)
+# GLESv1 lib
+find_library(GLES1_LIBRARY GLESv1_CM PATHS /usr/lib)
+set(DEQP_GLES1_LIBRARIES ${GLES1_LIBRARY})
+
+# GLESv2 lib
+find_library(GLES2_LIBRARY GLESv2 PATHS /usr/lib)
+set(DEQP_GLES2_LIBRARIES ${GLES2_LIBRARY})
+
# Add FindWayland module
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/targets/default")
# Add FindWayland module
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/targets/default")
@@
-33,4
+41,4
@@
if (NOT WAYLAND_FOUND)
endif ()
set(DEQP_PLATFORM_LIBRARIES ${WAYLAND_LIBRARIES})
endif ()
set(DEQP_PLATFORM_LIBRARIES ${WAYLAND_LIBRARIES})
-include_directories(${WAYLAND_INCLUDE_DIR})
\ No newline at end of file
+include_directories(${WAYLAND_INCLUDE_DIR})