diff options
Diffstat (limited to 'source/blender/modifiers/CMakeLists.txt')
-rw-r--r-- | source/blender/modifiers/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt index d2ac9dc85de..01770abeca0 100644 --- a/source/blender/modifiers/CMakeLists.txt +++ b/source/blender/modifiers/CMakeLists.txt @@ -156,9 +156,11 @@ if(WITH_OPENSUBDIV) endif() if(WITH_BULLET) - list(APPEND LIB - extern_bullet - ) + if(NOT WITH_SYSTEM_BULLET) + list(APPEND LIB + extern_bullet + ) + endif() add_definitions(-DWITH_BULLET) endif() |