CMake: remove BLENDER_SORTED_LIBS
[blender.git] / source / creator / CMakeLists.txt
index 83e1c9557a008ccbaaaba0b03af9c10f0a0df850..25de22a29f8332f5868c566c092f385e183cf555 100644 (file)
@@ -1051,19 +1051,11 @@ install(
 # Setup link libs
 
 add_dependencies(blender makesdna)
-
-# Use for testing 'BLENDER_SORTED_LIBS' removal.
-if(NOT (DEFINED WITHOUT_SORTED_LIBS AND WITHOUT_SORTED_LIBS))
-       setup_blender_sorted_libs()
-       target_link_libraries(blender ${BLENDER_SORTED_LIBS})
-else()
-       target_link_libraries(blender ${LIB})
-endif()
-
+target_link_libraries(blender ${LIB})
+unset(LIB)
 
 setup_liblinks(blender)
 
-unset(LIB)
 
 # -----------------------------------------------------------------------------
 # Setup launcher