diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-14 16:17:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-14 16:17:35 +0400 |
commit | 43de42824f4b7d20188d80aedf175054d8e1c552 (patch) | |
tree | 62c7b3152f46b59ac5634374b87f7a9e24c705c4 /build_files/cmake/Modules/FindGLEW.cmake | |
parent | e5e201ccd839f149d113798f944bb6862b80804d (diff) |
cmake's find glew wasnt working right - if glew wasnt found installing the package would not help since the not-found result was cached.
Diffstat (limited to 'build_files/cmake/Modules/FindGLEW.cmake')
-rw-r--r-- | build_files/cmake/Modules/FindGLEW.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/Modules/FindGLEW.cmake b/build_files/cmake/Modules/FindGLEW.cmake index c791327c8da..7e1b00d0923 100644 --- a/build_files/cmake/Modules/FindGLEW.cmake +++ b/build_files/cmake/Modules/FindGLEW.cmake @@ -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 ) |