aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-09-27 07:36:11 +1000
committerGitHub <noreply@github.com>2023-09-27 07:36:11 +1000
commit7e58d70dbec409c9341e580f56207969965908e5 (patch)
tree1b7c713507ce57394a8810f74be4d071598b26bb /tools
parent6763a69993866546132a1c394edbebec6bd3466f (diff)
parent070bda87f9cba92c07dd6f7d43b25a0580988390 (diff)
Merge pull request #23809 from fuzzard/cmake_assorted1
[Cmake] assorted updates to search paths and fixes to *_LIBRARIES 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 8c797b2a92..0462fbe9c3 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 ${BLUETOOTH_INCLUDE_DIRS}
+ PRIVATE $<TARGET_PROPERTY:Bluetooth::Bluetooth,INTERFACE_INCLUDE_DIRECTORIES>
${CWIID_INCLUDE_DIRS})
target_link_libraries(${APP_NAME_LC}-wiiremote
PRIVATE ${SYSTEM_LDFLAGS}
- ${BLUETOOTH_LIBRARIES}
+ Bluetooth::Bluetooth
${CWIID_LIBRARIES})
target_compile_options(${APP_NAME_LC}-wiiremote PRIVATE ${ARCH_DEFINES})