summaryrefslogtreecommitdiff
path: root/Modules/FindGLUT.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-15 12:57:53 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-15 12:57:53 -0400
commit68bbbf95a4448fd9476ae4b7177a6545b8ab6931 (patch)
tree52c28be370c04e8d7314bddc637c169a65c425ab /Modules/FindGLUT.cmake
parent8d418fb8983b6d805a41748790e43ccd00b2cb9a (diff)
downloadcmake-68bbbf95a4448fd9476ae4b7177a6545b8ab6931.tar.gz
BUG: fix for bug 852
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")