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 20a45e34d84f42752e915e056d9eeff11cfd0552..a6945bbe9bbfb4787832cd76113369bb06ef2031 100644 (file)
@@ -45,4 +45,6 @@ IF(WIN32)
        SET(INC ${INC} ${PTHREADS_INC})
 ENDIF(WIN32)
 
        SET(INC ${INC} ${PTHREADS_INC})
 ENDIF(WIN32)
 
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
 BLENDERLIB(bf_editor_space_view3d "${SRC}" "${INC}")
 BLENDERLIB(bf_editor_space_view3d "${SRC}" "${INC}")