summaryrefslogtreecommitdiff
path: root/Modules/FindGLUT.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindGLUT.cmake')
-rw-r--r--Modules/FindGLUT.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index 16d5f2750e..6448b7da98 100644
--- a/Modules/FindGLUT.cmake
+++ b/Modules/FindGLUT.cmake
@@ -44,7 +44,8 @@ ELSE (WIN32)
IF (APPLE)
# These values for Apple could probably do with improvement.
- FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h
+ FIND_PATH( GLUT_INCLUDE_DIR glut.h
+ /System/Library/Frameworks/GLUT.framework/Versions/A/Headers
${OPENGL_LIBRARY_DIR}
)
SET(GLUT_glut_LIBRARY "-framework Glut" CACHE STRING "GLUT library for OSX")