aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2024-05-11 21:26:38 +1000
committerfuzzard <fuzzard@kodi.tv>2024-05-18 10:57:13 +1000
commit70765f8e279db640e4db6cdc76b8b46ebfcb0a39 (patch)
tree1bd9608bf19f8a72bb24474ce48e912c5df28986 /tools
parent48566d21fa533c5cfccb9aaba84e6edacf4bcec5 (diff)
downloadxbmc-70765f8e279db640e4db6cdc76b8b46ebfcb0a39.tar.xz
[cmake][modules] FindBluetooth cleanup and use core_target_link_libraries
Diffstat (limited to 'tools')
-rw-r--r--tools/EventClients/Clients/WiiRemote/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/EventClients/Clients/WiiRemote/CMakeLists.txt b/tools/EventClients/Clients/WiiRemote/CMakeLists.txt
index 0462fbe9c3..2a8e41cc91 100644
--- a/tools/EventClients/Clients/WiiRemote/CMakeLists.txt
+++ b/tools/EventClients/Clients/WiiRemote/CMakeLists.txt
@@ -11,12 +11,12 @@ set(HEADERS CWIID_WiiRemote.h)
add_executable(${APP_NAME_LC}-wiiremote ${SOURCES} ${HEADERS})
target_include_directories(${APP_NAME_LC}-wiiremote
- PRIVATE $<TARGET_PROPERTY:Bluetooth::Bluetooth,INTERFACE_INCLUDE_DIRECTORIES>
+ PRIVATE $<TARGET_PROPERTY:${APP_NAME_LC}::Bluetooth,INTERFACE_INCLUDE_DIRECTORIES>
${CWIID_INCLUDE_DIRS})
target_link_libraries(${APP_NAME_LC}-wiiremote
PRIVATE ${SYSTEM_LDFLAGS}
- Bluetooth::Bluetooth
+ ${APP_NAME_LC}::Bluetooth
${CWIID_LIBRARIES})
target_compile_options(${APP_NAME_LC}-wiiremote PRIVATE ${ARCH_DEFINES})