From ca34c88302fc476b5e90a20b142532ffc58bc1b5 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Mon, 6 Jun 2011 15:40:55 +0100 Subject: cmake: Fix copy'n'paste typo in earlier commit. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c1bc27f9..c9cc2a88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ endif (UNIX) # from the standard OpenGL framework which provides support for GLUT and native # Mac OS X applications. if (X11_FOUND) - if (X11_FOUND) + if (APPLE) find_path (X11_GL_INCLUDE_PATH GL/glx.h ${X11_INC_SEARCH_PATH}) if (NOT X11_GL_INCLUDE_PATH) message (WARNING "Could not find GL/glx.h") -- cgit v1.2.3