diff options
author | fuzzard <fuzzard@kodi.tv> | 2024-05-12 13:41:57 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2024-06-22 13:17:14 +1000 |
commit | 489a7fcdd24f8002a44debd4ca7402ce6dcad384 (patch) | |
tree | 12b24eecee045734f1256c9b889fbe13c30f212c /cmake/scripts | |
parent | 7236765e06325461589584e5b7e074681224a76e (diff) |
[cmake][modules] FindPulseAudio cleanup and use core_target_link_libraries
Diffstat (limited to 'cmake/scripts')
-rw-r--r-- | cmake/scripts/linux/Install.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake index 47dc8faeef..efe7674b74 100644 --- a/cmake/scripts/linux/Install.cmake +++ b/cmake/scripts/linux/Install.cmake @@ -13,7 +13,7 @@ set(APP_INCLUDE_DIR ${includedir}/${APP_NAME_LC}) # Set XBMC_STANDALONE_SH_PULSE so we can insert PulseAudio block into kodi-standalone if(EXISTS ${CMAKE_SOURCE_DIR}/tools/Linux/kodi-standalone.sh.pulse) - if(ENABLE_PULSEAUDIO AND TARGET PulseAudio::PulseAudio) + if(ENABLE_PULSEAUDIO AND TARGET ${APP_NAME_LC}::PulseAudio) file(READ "${CMAKE_SOURCE_DIR}/tools/Linux/kodi-standalone.sh.pulse" pulse_content) set(XBMC_STANDALONE_SH_PULSE ${pulse_content}) endif() |