diff options
-rw-r--r-- | Modules/FindOpenGL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake index e44cd17..6666898 100644 --- a/Modules/FindOpenGL.cmake +++ b/Modules/FindOpenGL.cmake @@ -139,7 +139,7 @@ IF (APPLE) SET (OPENGL_FOUND "YES") SET (OPENGL_GLU_FOUND "YES") SET (OPENGL_LIBRARIES "-framework AGL -framework OpenGL" CACHE STRING "OpenGL lib for OSX") - SET (OPENGL_LIBRARY ${OPENGL_LIBRARIES} CACHE STRING "OpenGL lib for OSX (for CMake 1.4)") + SET (OPENGL_LIBRARY "${OPENGL_LIBRARIES}" CACHE STRING "OpenGL lib for OSX (for CMake 1.4)") SET (OPENGL_gl_LIBRARY "-framework OpenGL" CACHE STRING "OpenGL lib for OSX") SET (OPENGL_glu_LIBRARY "-framework AGL" CACHE STRING "AGL lib for OSX") ENDIF (APPLE) |