diff --git a/cmake/FindGLUT.cmake b/cmake/FindGLUT.cmake index faece6697da8adaee90ec32a290333dd360e136f..5546069c9e7078c0dba491108e6b7027f6975be3 100644 --- a/cmake/FindGLUT.cmake +++ b/cmake/FindGLUT.cmake @@ -72,7 +72,7 @@ IF (WIN32) "${VS_SEARCH_PATH}/freeglut-2.8.1/lib" ) - set(GLUT_glut_LIBRARY optimized ${GLUT_release_LIBRARY} debug ${GLUT_debug_LIBRARY}) + set(GLUT_glut_LIBRARY optimized ${GLUT_release_LIBRARY} debug ${GLUT_debug_LIBRARY} CACHE STRING "Path to the glut libraries") ELSE (WIN32)