summaryrefslogtreecommitdiffstats
path: root/Modules/FindGLUT.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-15 16:57:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-15 16:57:53 (GMT)
commit68bbbf95a4448fd9476ae4b7177a6545b8ab6931 (patch)
tree52c28be370c04e8d7314bddc637c169a65c425ab /Modules/FindGLUT.cmake
parent8d418fb8983b6d805a41748790e43ccd00b2cb9a (diff)
downloadCMake-68bbbf95a4448fd9476ae4b7177a6545b8ab6931.zip
CMake-68bbbf95a4448fd9476ae4b7177a6545b8ab6931.tar.gz
CMake-68bbbf95a4448fd9476ae4b7177a6545b8ab6931.tar.bz2
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 16d5f27..6448b7d 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")