diff options
Diffstat (limited to 'source/blender/modifiers/CMakeLists.txt')
-rw-r--r-- | source/blender/modifiers/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt index bdbc51605ba..083ad052a58 100644 --- a/source/blender/modifiers/CMakeLists.txt +++ b/source/blender/modifiers/CMakeLists.txt @@ -34,11 +34,8 @@ set(INC ../makesdna ../makesrna ../render/extern/include - ../editors/include - ../gpu ../../../intern/elbeem/extern ../../../intern/guardedalloc - ../../../extern/recastnavigation/Recast/Include ) set(INC_SYS @@ -120,7 +117,13 @@ if(NOT WITH_MOD_FLUID) endif() if(WITH_GAMEENGINE) + # for MOD_navmesh.cpp add_definitions(-DWITH_GAMEENGINE) + list(APPEND INC + ../gpu + ../../../extern/recastnavigation/Recast/Include + ../editors/include # XXX - BAD LEVEL CALL, REMOVE BEFORE RELEASE + ) endif() blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}") |