cmake's find glew wasnt working right - if glew wasnt found installing the package...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 14 Oct 2011 12:17:35 +0000 (12:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 14 Oct 2011 12:17:35 +0000 (12:17 +0000)
build_files/cmake/Modules/FindGLEW.cmake

index c791327c8dae1a254689461bd066f62f1730ac27..7e1b00d09237ef9607e31901d1abeb80c6f61025 100644 (file)
@@ -51,9 +51,9 @@ ELSE (WIN32)
 ENDIF (WIN32)
 
 IF (GLEW_INCLUDE_PATH)
-       SET( GLEW_FOUND 1 CACHE STRING "Set to 1 if GLEW is found, 0 otherwise")
+       SET(GLEW_FOUND TRUE)
 ELSE (GLEW_INCLUDE_PATH)
-       SET( GLEW_FOUND 0 CACHE STRING "Set to 1 if GLEW is found, 0 otherwise")
+       SET(GLEW_FOUND FALSE)
 ENDIF (GLEW_INCLUDE_PATH)
 
 MARK_AS_ADVANCED( GLEW_FOUND )