diff options
Diffstat (limited to 'source/blender/editors/physics/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/physics/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/physics/CMakeLists.txt b/source/blender/editors/physics/CMakeLists.txt index 7f3eaa892d0..435327319aa 100644 --- a/source/blender/editors/physics/CMakeLists.txt +++ b/source/blender/editors/physics/CMakeLists.txt @@ -27,7 +27,6 @@ set(INC ../../makesdna ../../makesrna ../../windowmanager - ../../rigidbody ../../../../intern/elbeem/extern ../../../../intern/guardedalloc ) @@ -63,4 +62,11 @@ if(WITH_INTERNATIONAL) add_definitions(-DWITH_INTERNATIONAL) endif() +if(WITH_BULLET) + list(APPEND INC + ../../rigidbody + ) + add_definitions(-DWITH_BULLET) +endif() + blender_add_lib(bf_editor_physics "${SRC}" "${INC}" "${INC_SYS}") |