diff options
author | fuzzard <fuzzard@kodi.tv> | 2024-07-09 20:42:16 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2024-07-09 21:07:37 +1000 |
commit | 29f33e3d7d85364ce86d252790ed0fc4b4006e9f (patch) | |
tree | af04bfd1e3e2332f8ff77fc86d9a401534f9386d /cmake/scripts/darwin_embedded | |
parent | cd09120d2801f1f5bb5d67d7874503a35a636fbb (diff) |
[cmake] Fix LibDVD* for all platforms
Oops, broke this pretty bad.
Fix macros using incorrect arguments.
Fix target usage of additional libs.
Dont use generator expression in a variable
Diffstat (limited to 'cmake/scripts/darwin_embedded')
-rw-r--r-- | cmake/scripts/darwin_embedded/Macros.cmake | 2 |
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() |