aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux/Install.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/linux/Install.cmake')
-rw-r--r--cmake/scripts/linux/Install.cmake2
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()