diff options
-rw-r--r-- | build_files/cmake/macros.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 5ee1d88bfcb..620c843a15b 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -754,6 +754,10 @@ function(SETUP_BLENDER_SORTED_LIBS) list_insert_after(BLENDER_SORTED_LIBS "bf_blenkernel" "bf_intern_rigidbody") endif() + if(WITH_BULLET AND NOT WITH_SYSTEM_BULLET) + list_insert_after(BLENDER_SORTED_LIBS "extern_openjpeg" "extern_bullet") + endif() + if(WIN32) list(APPEND BLENDER_SORTED_LIBS bf_intern_gpudirect) endif() |