aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/linux/ExtraTargets.cmake2
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()