Merged changes in the trunk up to revision 49986.
[blender.git] / source / creator / CMakeLists.txt
index c1c04588ff2067fe604379c8f8f2d928a9ad3197..38b87824cfb5a71341a129a3e458cf712bd36503 100644 (file)
@@ -864,7 +864,6 @@ endif()
                bf_intern_bsp
                bf_intern_decimate
                bf_intern_elbeem
-               bf_intern_ik
                bf_intern_memutil
                bf_intern_guardedalloc
                bf_intern_ctr
@@ -936,6 +935,10 @@ endif()
                list(APPEND BLENDER_SORTED_LIBS bf_intern_guardedalloc_cpp)
        endif()
 
+       if(WITH_IK_SOLVER)
+               list_insert_after(BLENDER_SORTED_LIBS "bf_intern_elbeem" "bf_intern_iksolver")
+       endif()
+
        if(WITH_IK_ITASC)
                list(APPEND BLENDER_SORTED_LIBS bf_intern_itasc)
        endif()