From 39577403d3c421f51735613810ffcb4acc1e3894 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 23 Jan 2017 18:08:41 +0100 Subject: Fix compilation error with legacy depsgraph disabled --- source/blender/modifiers/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/modifiers/CMakeLists.txt') diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt index b8ebb375a48..bacfc177432 100644 --- a/source/blender/modifiers/CMakeLists.txt +++ b/source/blender/modifiers/CMakeLists.txt @@ -113,6 +113,10 @@ set(SRC intern/MOD_weightvg_util.h ) +if(WITH_LEGACY_DEPSGRAPH) + add_definitions(-DWITH_LEGACY_DEPSGRAPH) +endif() + if(WITH_ALEMBIC) add_definitions(-DWITH_ALEMBIC) list(APPEND INC -- cgit v1.2.3