summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5991962db..846a961dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -377,13 +377,13 @@ if (OPENGL_FOUND)
PATHS ${OPENGL_INCLUDE_DIR}
DOC "Include for OpenGL/glext.h on OSX"
)
- else (APPLE)
+ else()
find_path(GLEXT_INCLUDE_DIR
NAMES GL/glext.h
PATHS ${OPENGL_INCLUDE_DIR}
DOC "Include for GL/glext.h"
)
- endif (APPLE)
+ endif()
endif()
if(CMAKE_USE_PTHREADS_INIT)