Set the library path for GLESv1 and GLESv2
[platform/upstream/VK-GL-CTS.git] / targets / wayland / wayland.cmake
index 8adc417..a9de5cc 100644 (file)
@@ -24,6 +24,14 @@ set(DEQP_TARGET_NAME "Wayland")
 # 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")
 
@@ -33,4 +41,4 @@ if (NOT WAYLAND_FOUND)
 endif ()
 
 set(DEQP_PLATFORM_LIBRARIES ${WAYLAND_LIBRARIES})
-include_directories(${WAYLAND_INCLUDE_DIR})
\ No newline at end of file
+include_directories(${WAYLAND_INCLUDE_DIR})