macOS + CMake: restore building of GLU_based test apps.

This commit is contained in:
ManoloFLTK 2018-12-16 18:18:52 +01:00
parent e870310d9a
commit 0a98405424

View File

@ -133,6 +133,7 @@ if(OPTION_USE_GL)
set(OPENGL_FOUND TRUE)
get_filename_component(PATH_TO_XLIBS ${X11_X11_LIB} PATH)
set(OPENGL_LIBRARIES -L${PATH_TO_XLIBS} -lGLU -lGL)
find_file(HAVE_GL_GLU_H GL/glu.h PATHS /opt/X11/include)
else()
include(FindOpenGL)
if(APPLE)