CMake: remove BLENDER_SORTED_LIBS
[blender.git] / intern / cycles / cmake / macros.cmake
index ed4c0e48c032ee4faddbf607dbb018bb6ca852f2..ab8182ba4a745f95e2a233ce569fb2585e44e11c 100644 (file)
@@ -8,10 +8,8 @@ endfunction()
 
 macro(cycles_add_library target library_deps)
        add_library(${target} ${ARGN})
-       if(DEFINED WITHOUT_SORTED_LIBS AND WITHOUT_SORTED_LIBS)
-               if(NOT ("${library_deps}" STREQUAL ""))
-                       target_link_libraries(${target} "${library_deps}")
-               endif()
+       if(NOT ("${library_deps}" STREQUAL ""))
+               target_link_libraries(${target} "${library_deps}")
        endif()
        cycles_set_solution_folder(${target})
 endmacro()