]> git.cworth.org Git - apitrace/commitdiff
Require gles1 and gles2 modules for EGL support (fixes issue #58).
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 26 Nov 2011 10:50:39 +0000 (10:50 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 26 Nov 2011 10:51:39 +0000 (10:51 +0000)
CMakeLists.txt

index a98103f23f22719d8249c27824b4ff4359733ed4..c3e8a846caf95d61ac5ea382e07851715e8a77ac 100755 (executable)
@@ -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)