summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMake/options.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 11c92823b..013978002 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -149,6 +149,9 @@ if(OPTION_USE_GL)
set(OPENGL_FOUND FALSE)
else()
include(FindOpenGL)
+ if(APPLE)
+ set(HAVE_GL_GLU_H ${HAVE_OPENGL_GLU_H})
+ endif(APPLE)
endif(OPTION_APPLE_X11)
endif(OPTION_USE_GL)