Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2010-06-18 12:22:05 +0400
committerMitchell Stokes <mogurijin@gmail.com>2010-06-18 12:22:05 +0400
commitc6b7b8a485eb71a561a96e44d54eca17d70ae356 (patch)
treeee6b1824b417e40b32efaaedb98bff0627408aa9 /source/blender/editors/space_view3d/CMakeLists.txt
parent0aef0d2538573cdb6eefae9c2fc10d80fe1d572e (diff)
Fixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC needed to be defined; it was already defined for SCons.
Diffstat (limited to 'source/blender/editors/space_view3d/CMakeLists.txt')
-rw-r--r--source/blender/editors/space_view3d/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt
index 20a45e34d84..a6945bbe9bb 100644
--- a/source/blender/editors/space_view3d/CMakeLists.txt
+++ b/source/blender/editors/space_view3d/CMakeLists.txt
@@ -45,4 +45,6 @@ IF(WIN32)
SET(INC ${INC} ${PTHREADS_INC})
ENDIF(WIN32)
+ADD_DEFINITIONS(-DGLEW_STATIC)
+
BLENDERLIB(bf_editor_space_view3d "${SRC}" "${INC}")