diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 0febb8f8614..18b054dc334 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -439,6 +439,9 @@ function(blender_add_lib__impl # Not for system includes because they can resolve to the same path # list_assert_duplicates("${includes_sys}") + # blenders dependency loops are longer than cmake expects and we need additional loops to + # properly link. + set_property(TARGET ${name} APPEND PROPERTY LINK_INTERFACE_MULTIPLICITY 3) endfunction()