diff options
author | fuzzard <fuzzard@kodi.tv> | 2024-05-12 13:51:48 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2024-06-22 13:17:14 +1000 |
commit | c75630c6393027b927d0b4892469612f9e8f9159 (patch) | |
tree | 5e4c7264f0e45f97c1f34e4cdf3ddd44402fac70 /cmake/scripts | |
parent | e2c7f8ff59212f798a16eea00e66a3579bdcac12 (diff) |
[cmake][modules] FindShairplay cleanup and use core_target_link_libraries
Diffstat (limited to 'cmake/scripts')
-rw-r--r-- | cmake/scripts/android/Install.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/android/Install.cmake b/cmake/scripts/android/Install.cmake index b912141007..8e2b90e7b4 100644 --- a/cmake/scripts/android/Install.cmake +++ b/cmake/scripts/android/Install.cmake @@ -141,8 +141,8 @@ foreach(library IN LISTS LIBRARY_FILES) add_bundle_file(${library} ${libdir}/${APP_NAME_LC} ${CMAKE_BINARY_DIR}) endforeach() -if(TARGET Shairplay::Shairplay) - add_bundle_file(Shairplay::Shairplay ${libdir} "") +if(TARGET ${APP_NAME_LC}::Shairplay) + add_bundle_file(${APP_NAME_LC}::Shairplay ${libdir} "") endif() # Main targets from Makefile.in |