diff --git a/source/RobotAPI/components/KITProstheticHandUnit/CMakeLists.txt b/source/RobotAPI/components/KITProstheticHandUnit/CMakeLists.txt index 7c7235bea427b62f70f7680a411fee5d70281527..67b35c294a4869b067e4a010583439acf455ad2f 100644 --- a/source/RobotAPI/components/KITProstheticHandUnit/CMakeLists.txt +++ b/source/RobotAPI/components/KITProstheticHandUnit/CMakeLists.txt @@ -1,13 +1,7 @@ armarx_component_set_name("KITProstheticHandUnit") -#find_package(MyLib QUIET) -#armarx_build_if(MyLib_FOUND "MyLib not available") -# -# all include_directories must be guarded by if(Xyz_FOUND) -# for multiple libraries write: if(X_FOUND AND Y_FOUND).... -#if(MyLib_FOUND) -# include_directories(${MyLib_INCLUDE_DIRS}) -#endif() +find_package(Qt5 COMPONENTS Core Bluetooth QUIET) +armarx_build_if(Qt5_FOUND "Qt5 Core or Bluetooth not available") set(COMPONENT_LIBS ArmarXCoreInterfaces