Skip to content

Commit

Permalink
Fix CMake building under Apple platform that used to set HAVE_GL_GLU_…
Browse files Browse the repository at this point in the history
…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-porting@11864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Aug 5, 2016
1 parent fe0c247 commit e5e7fa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMake/options.cmake
Expand Up @@ -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)

Expand Down

0 comments on commit e5e7fa9

Please sign in to comment.