Fixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC...
authorMitchell Stokes <mogurijin@gmail.com>
Fri, 18 Jun 2010 08:22:05 +0000 (08:22 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Fri, 18 Jun 2010 08:22:05 +0000 (08:22 +0000)
source/blender/editors/space_view3d/CMakeLists.txt

index 20a45e3..a6945bb 100644 (file)
@@ -45,4 +45,6 @@ IF(WIN32)
        SET(INC ${INC} ${PTHREADS_INC})
 ENDIF(WIN32)
 
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
 BLENDERLIB(bf_editor_space_view3d "${SRC}" "${INC}")