diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2010-06-18 12:22:05 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2010-06-18 12:22:05 +0400 |
commit | c6b7b8a485eb71a561a96e44d54eca17d70ae356 (patch) | |
tree | ee6b1824b417e40b32efaaedb98bff0627408aa9 /source/blender/editors/space_view3d/CMakeLists.txt | |
parent | 0aef0d2538573cdb6eefae9c2fc10d80fe1d572e (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.txt | 2 |
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}") |