From: Hoyub Lee Date: Wed, 26 Apr 2017 08:21:09 +0000 (+0900) Subject: Set the library path for GLESv1 and GLESv2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2FVK-GL-CTS.git;a=commitdiff_plain;h=56c872881a580de01ba519dd279ed1bea5311f0a Set the library path for GLESv1 and GLESv2 On EGL test cases(dEQP-EGL*), there are tests which uses GLES function like glClear(). If library path is not set, each test cases will try eglGetProcAddress to find gl symbols. However, normal gl symbol which is not extension cannot be found if KHR_get_all_proc_address is not set. Therefore, this patch sets the library path to cover up this case. Change-Id: Ifa9ee7c7574fff0dfae09064eb68bfb3fc1832a1 Signed-off-by: Hoyub Lee --- diff --git a/targets/wayland/wayland.cmake b/targets/wayland/wayland.cmake index 8adc417..a9de5cc 100644 --- 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) +# 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})