add option WITH_SYSTEM_BULLET to link against the bullet installation found on the system.
Note: this doesn't work yet for everything with latest stable bullet (2.81), need to look into why and likely apply some patches upstream. However I managed to link blender by disabling some features, likely it can be made to work without too much trouble.
This commit is contained in:
4
extern/CMakeLists.txt
vendored
4
extern/CMakeLists.txt
vendored
@@ -30,7 +30,9 @@ add_subdirectory(colamd)
|
||||
add_subdirectory(rangetree)
|
||||
|
||||
if(WITH_BULLET)
|
||||
add_subdirectory(bullet2)
|
||||
if(NOT WITH_SYSTEM_BULLET)
|
||||
add_subdirectory(bullet2)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# now only available in a branch
|
||||
|
Reference in New Issue
Block a user