[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41008] trunk/blender/build_files/cmake/ Modules/FindGLEW.cmake: cmake' s find glew wasnt working right - if glew wasnt found installing the package would not help since the not-found result was cached .

Campbell Barton ideasman42 at gmail.com
Fri Oct 14 14:17:35 CEST 2011


Revision: 41008
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41008
Author:   campbellbarton
Date:     2011-10-14 12:17:35 +0000 (Fri, 14 Oct 2011)
Log Message:
-----------
cmake's find glew wasnt working right - if glew wasnt found installing the package would not help since the not-found result was cached.

Modified Paths:
--------------
    trunk/blender/build_files/cmake/Modules/FindGLEW.cmake

Modified: trunk/blender/build_files/cmake/Modules/FindGLEW.cmake
===================================================================
--- trunk/blender/build_files/cmake/Modules/FindGLEW.cmake	2011-10-14 11:24:20 UTC (rev 41007)
+++ trunk/blender/build_files/cmake/Modules/FindGLEW.cmake	2011-10-14 12:17:35 UTC (rev 41008)
@@ -51,9 +51,9 @@
 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 )




More information about the Bf-blender-cvs mailing list