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:
Diffstat (limited to 'source/blender/CMakeLists.txt')
-rw-r--r--source/blender/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/CMakeLists.txt b/source/blender/CMakeLists.txt
index db3132132da..36b05fd31f4 100644
--- a/source/blender/CMakeLists.txt
+++ b/source/blender/CMakeLists.txt
@@ -106,7 +106,10 @@ add_subdirectory(nodes)
add_subdirectory(modifiers)
add_subdirectory(makesdna)
add_subdirectory(makesrna)
-add_subdirectory(rigidbody)
+
+if(WITH_BULLET)
+ add_subdirectory(rigidbody)
+endif()
if(WITH_COMPOSITOR)
add_subdirectory(opencl) # later on this may be used more generally