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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-09-05 15:51:58 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-05 15:52:29 +0300
commit1478ac35c743430d0b333ae9829689782baf70c2 (patch)
tree1c64deaa6eed08cd48f92766232ac6377e7c98f3 /source/blender/editors/space_view3d/CMakeLists.txt
parent9683807459947330d50e8e38edae430d10d53ffc (diff)
Depsgraph: Don't use legacy function when building without legacy depsgraph
Diffstat (limited to 'source/blender/editors/space_view3d/CMakeLists.txt')
-rw-r--r--source/blender/editors/space_view3d/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt
index 181a0adfd28..059b384a9e2 100644
--- a/source/blender/editors/space_view3d/CMakeLists.txt
+++ b/source/blender/editors/space_view3d/CMakeLists.txt
@@ -90,4 +90,8 @@ if(WITH_FREESTYLE)
add_definitions(-DWITH_FREESTYLE)
endif()
+if(WITH_LEGACY_DEPSGRAPH)
+ add_definitions(-DWITH_LEGACY_DEPSGRAPH)
+endif()
+
blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}" "${INC_SYS}")