Merged changes in the trunk up to revision 54110.
[blender.git] / source / creator / CMakeLists.txt
index 7db4b5bfc8900b8b1898a6b7057fac0e34b6aefe..4ac8364aa190b5eb2dd14b2e890a20df24d93154 100644 (file)
@@ -985,6 +985,10 @@ endif()
                list(APPEND BLENDER_SORTED_LIBS bf_intern_locale)
        endif()
 
+       if(WITH_BULLET)
+               list_insert_after(BLENDER_SORTED_LIBS "bf_blenkernel" "bf_rigidbody")
+       endif()
+
        if(WITH_BULLET AND NOT WITH_BULLET_SYSTEM)
                list_insert_after(BLENDER_SORTED_LIBS "ge_logic_ngnetwork" "extern_bullet")
        endif()