aboutsummaryrefslogtreecommitdiff
path: root/xbmc
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2024-05-11 22:43:14 +1000
committerfuzzard <fuzzard@kodi.tv>2024-05-18 11:27:12 +1000
commita945a7fb01000ca60581baf1b1fe49cc163f7279 (patch)
treeba3bd79e83f23f961a81d0790c10fe817128e4e6 /xbmc
parent9ca4f411b0afb551128e095144730c8fd180b4dd (diff)
downloadxbmc-a945a7fb01000ca60581baf1b1fe49cc163f7279.tar.xz
[cmake][modules] FindLibUSB cleanup and use core_target_link_libraries
Diffstat (limited to 'xbmc')
-rw-r--r--xbmc/platform/linux/peripherals/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/platform/linux/peripherals/CMakeLists.txt b/xbmc/platform/linux/peripherals/CMakeLists.txt
index 8295e1eae3..554f753e2f 100644
--- a/xbmc/platform/linux/peripherals/CMakeLists.txt
+++ b/xbmc/platform/linux/peripherals/CMakeLists.txt
@@ -1,7 +1,7 @@
if(TARGET UDEV::UDEV)
list(APPEND SOURCES PeripheralBusUSBLibUdev.cpp)
list(APPEND HEADERS PeripheralBusUSBLibUdev.h)
-elseif(TARGET LibUSB::LibUSB)
+elseif(TARGET ${APP_NAME_LC}::LibUSB)
list(APPEND SOURCES PeripheralBusUSBLibUSB.cpp)
list(APPEND HEADERS PeripheralBusUSBLibUSB.h)
endif()