aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2024-05-12 18:35:03 +1000
committerfuzzard <fuzzard@kodi.tv>2024-06-22 13:17:14 +1000
commit1aadf31a78f6c15b64e9f941345c6ad9d8c06d42 (patch)
tree95c7cbab000ba49a62f43e956a905678cc48ed56 /tools
parent7658b607954ac3e6734ba54b1d50c78f41154ae9 (diff)
[cmake][modules] FindCWiid update to target usage
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 2a8e41cc91..f638b56c76 100644
--- a/tools/EventClients/Clients/WiiRemote/CMakeLists.txt
+++ b/tools/EventClients/Clients/WiiRemote/CMakeLists.txt
@@ -12,12 +12,12 @@ add_executable(${APP_NAME_LC}-wiiremote ${SOURCES} ${HEADERS})
target_include_directories(${APP_NAME_LC}-wiiremote
PRIVATE $<TARGET_PROPERTY:${APP_NAME_LC}::Bluetooth,INTERFACE_INCLUDE_DIRECTORIES>
- ${CWIID_INCLUDE_DIRS})
+ $<TARGET_PROPERTY:${APP_NAME_LC}::CWiid,INTERFACE_INCLUDE_DIRECTORIES>)
target_link_libraries(${APP_NAME_LC}-wiiremote
PRIVATE ${SYSTEM_LDFLAGS}
${APP_NAME_LC}::Bluetooth
- ${CWIID_LIBRARIES})
+ ${APP_NAME_LC}::CWiid)
target_compile_options(${APP_NAME_LC}-wiiremote PRIVATE ${ARCH_DEFINES})