summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-22 21:20:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-22 21:20:41 (GMT)
commita688f59519f0654189b12f903a5c58f9830b2f20 (patch)
treeb20c28af2c3169c70c9e5820d0270804fc8d443b
parent9dbd619b285077551ffd8158792c833c2231d90e (diff)
downloadCMake-a688f59519f0654189b12f903a5c58f9830b2f20.zip
CMake-a688f59519f0654189b12f903a5c58f9830b2f20.tar.gz
CMake-a688f59519f0654189b12f903a5c58f9830b2f20.tar.bz2
BUG: fix for bug 743
-rw-r--r--Modules/FindGLUT.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index ca9096e..16d5f27 100644
--- a/Modules/FindGLUT.cmake
+++ b/Modules/FindGLUT.cmake
@@ -47,7 +47,8 @@ ELSE (WIN32)
FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h
${OPENGL_LIBRARY_DIR}
)
- SET(GLUT_glut_LIBRARY "-framework Glut" CACHE STRING "GLUT library for OSX")
+ SET(GLUT_glut_LIBRARY "-framework Glut" CACHE STRING "GLUT library for OSX")
+ SET(GLUT_cocoa_LIBRARY "-framework Cocoa" CACHE STRING "Cocoa framework for OSX")
ELSE (APPLE)
FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h
@@ -96,6 +97,7 @@ IF(GLUT_INCLUDE_DIR)
${GLUT_glut_LIBRARY}
${GLUT_Xmu_LIBRARY}
${GLUT_Xi_LIBRARY}
+ ${GLUT_cocoa_LIBRARY}
)
SET( GLUT_FOUND "YES" )