Fix CMake building under Apple platform that used to set HAVE_GL_GLU_H to 0
On the Mac OS platform, file glu.h is not in a directory called GL. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
2f58a0ce84
commit
9b9fc92768
@ -135,6 +135,9 @@ if(OPTION_USE_GL)
|
||||
set(OPENGL_LIBRARIES -L${PATH_TO_XLIBS} -lGLU -lGL)
|
||||
else()
|
||||
include(FindOpenGL)
|
||||
if(APPLE)
|
||||
set(HAVE_GL_GLU_H ${HAVE_OPENGL_GLU_H})
|
||||
endif(APPLE)
|
||||
endif(OPTION_APPLE_X11)
|
||||
endif(OPTION_USE_GL)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user