BUG: fix for bug 743
This commit is contained in:
parent
9dbd619b28
commit
a688f59519
|
@ -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" )
|
||||
|
||||
|
|
Loading…
Reference in New Issue