diff options
| author | Manolo Gouy <Manolo> | 2016-08-05 17:14:55 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-08-05 17:14:55 +0000 |
| commit | e5e7fa9b1ee64a1f6d3688930ce162668093a3c1 (patch) | |
| tree | 3462173dfc4d225b28fd4ecb3cc8e9a80deb82d0 /CMake | |
| parent | fe0c247dbbd67e0d138d39ff4b0e94deb7e8fbc3 (diff) | |
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-porting@11864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/options.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index 11c92823b..013978002 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -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) |
