From: José Fonseca Date: Sat, 26 Nov 2011 10:50:39 +0000 (+0000) Subject: Require gles1 and gles2 modules for EGL support (fixes issue #58). X-Git-Tag: 2.0_alpha^2~457 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58fd645f6bf9063a80f6aaeb50d078e1dc68e274;p=tools%2Fapitrace.git Require gles1 and gles2 modules for EGL support (fixes issue #58). --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a98103f..c3e8a84 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ else () if (NOT ENABLE_EGL STREQUAL "AUTO") set (REQUIRE_EGL REQUIRED) endif () - pkg_check_modules (EGL egl ${REQUIRE_EGL}) + pkg_check_modules (EGL egl glesv1_cm glesv2 ${REQUIRE_EGL}) if (EGL_FOUND) include_directories (${EGL_INCLUDE_DIR}) add_definitions (-DHAVE_EGL)