Fixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC needed to be defined; it was already defined for SCons.

This commit is contained in:
2010-06-18 08:22:05 +00:00
parent 0aef0d2538
commit c6b7b8a485

View 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}")