aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/darwin_embedded
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/darwin_embedded')
-rw-r--r--cmake/scripts/darwin_embedded/Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/darwin_embedded/Macros.cmake b/cmake/scripts/darwin_embedded/Macros.cmake
index f101044b11..1aee7a2939 100644
--- a/cmake/scripts/darwin_embedded/Macros.cmake
+++ b/cmake/scripts/darwin_embedded/Macros.cmake
@@ -39,7 +39,7 @@ function(core_link_library lib wraplib)
elseif(check_arg STREQUAL archives)
foreach(_data_arg ${data_arg})
if(TARGET ${_data_arg})
- list(APPEND extra_libs $<TARGET_FILE:_data_arg>)
+ list(APPEND extra_libs $<TARGET_FILE:${_data_arg}>)
else()
list(APPEND extra_libs ${_data_arg})
endif()