summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2018-12-16 19:01:56 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2018-12-16 19:01:56 +0100
commit75293c17256ee2a6d0091ea6f33e33d3e94d7e5f (patch)
tree67421af0b9b37e519a629cab3cd4bff18e850e31 /CMake
parent9ea0d4ccbce4b0efd7db5368a4382bb992c64e13 (diff)
macOS + CMake + OPTION_APPLE_X11 : restore building of GLU-based test apps.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 622c2eb44..e94e0e937 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -197,6 +197,7 @@ if(OPTION_USE_GL)
if(OPTION_APPLE_X11)
set(OPENGL_FOUND TRUE)
set(OPENGL_LIBRARIES -L${PATH_TO_XLIBS} -lGLU -lGL)
+ set(HAVE_GL_GLU_H /opt/X11/include/GL/glu.h)
elseif(OPTION_APPLE_SDL)
set(OPENGL_FOUND FALSE)
else()