BUG: fix for bug 743

This commit is contained in:
Bill Hoffman 2004-04-22 17:20:41 -04:00
parent 9dbd619b28
commit a688f59519
1 changed files with 3 additions and 1 deletions

View File

@ -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" )