From 58fd645f6bf9063a80f6aaeb50d078e1dc68e274 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 26 Nov 2011 10:50:39 +0000 Subject: [PATCH] Require gles1 and gles2 modules for EGL support (fixes issue #58). --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.43.0