diff options
author | fuzzard <fuzzard@kodi.tv> | 2024-05-12 17:20:43 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2024-06-22 13:17:14 +1000 |
commit | 90c8b0fdb7c4d2bd939bfcf4b18ccb923d653334 (patch) | |
tree | 6fcc74b95047425dd3a8998f0ef20849e13226e2 /cmake/scripts | |
parent | ab8c0e646f0d973ae46782645dd96b25b6168f48 (diff) |
[cmake][modules] FindGLU update to target usage
Diffstat (limited to 'cmake/scripts')
-rw-r--r-- | cmake/scripts/linux/ExtraTargets.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/linux/ExtraTargets.cmake b/cmake/scripts/linux/ExtraTargets.cmake index c6ad66b18e..15756a9b23 100644 --- a/cmake/scripts/linux/ExtraTargets.cmake +++ b/cmake/scripts/linux/ExtraTargets.cmake @@ -10,7 +10,7 @@ endif() if(ENABLE_EVENTCLIENTS AND TARGET ${APP_NAME_LC}::Bluetooth) find_package(CWiid QUIET) find_package(GLU QUIET) - if(CWIID_FOUND AND GLU_FOUND) + if(CWIID_FOUND AND TARGET ${APP_NAME_LC}::GLU) add_subdirectory(${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/WiiRemote build/WiiRemote) endif() endif() |