diff options
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r-- | build_files/cmake/macros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 10b293c64b4..5fd677ee5c9 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -235,7 +235,7 @@ function(blender_add_lib__impl add_library(${name} ${sources}) if (NOT "${library_deps}" STREQUAL "") - target_link_libraries(${name} "${library_deps}") + target_link_libraries(${name} INTERFACE "${library_deps}") endif() # works fine without having the includes |