macOS + CMake: restore building of GLU_based test apps.
This commit is contained in:
parent
e870310d9a
commit
0a98405424
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user