diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-06-06 15:40:55 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-06-06 15:40:55 +0100 |
commit | ca34c88302fc476b5e90a20b142532ffc58bc1b5 (patch) | |
tree | 6bb77102c6cc33f3e6745772ebbf34b3f639daa1 | |
parent | 8dae237d2c85421b28dc5d86e7e36ceb1ca335cc (diff) |
cmake: Fix copy'n'paste typo in earlier commit.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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") |