From 29b4ed4e9a6731a2ccda09020d65d84e1a5281a3 Mon Sep 17 00:00:00 2001 From: Cloudef Date: Wed, 25 Apr 2012 09:33:29 +0300 Subject: [PATCH] Don't build tests and examples when building with EGL --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index dd5c35aa..8680aec2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,10 @@ elseif (UNIX AND NOT APPLE) set(_GLFW_X11 1) if (GLFW_USE_EGL) set(_GLFW_X11_EGL 1) + set(GLFW_BUILD_EXAMPLES 0) + set(GLFW_BUILD_TESTS 0) message(STATUS "Building GLFW for X11 and EGL on a Unix-like system") + message(STATUS "NOTE: Examples and tests are disabled for EGL") else() set(_GLFW_X11_GLX 1) message(STATUS "Building GLFW for X11 and GLX on a Unix-like system")