diff --git a/source/RobotAPI/statecharts/MotionControlGroup/CMakeLists.txt b/source/RobotAPI/statecharts/MotionControlGroup/CMakeLists.txt index 1206cb89a3d0099b28e07f8fe68b1dcc8a635a67..1a26f99f411c05b949f8768d036310cb21816ced 100644 --- a/source/RobotAPI/statecharts/MotionControlGroup/CMakeLists.txt +++ b/source/RobotAPI/statecharts/MotionControlGroup/CMakeLists.txt @@ -2,14 +2,17 @@ armarx_component_set_name("MotionControlGroup") find_package(Eigen3 QUIET) find_package(Simox QUIET) +find_package(jsoncpp QUIET) armarx_build_if(Eigen3_FOUND "Eigen3 not available") armarx_build_if(Simox_FOUND "Simox-VirtualRobot not available") +armarx_build_if(jsoncpp_FOUND "jsoncpp not available") -if (Eigen3_FOUND AND Simox_FOUND) +if (Eigen3_FOUND AND Simox_FOUND AND jsoncpp_FOUND) include_directories( ${Eigen3_INCLUDE_DIR} - ${Simox_INCLUDE_DIRS}) + ${Simox_INCLUDE_DIRS} + ${jsoncpp_INCLUDE_DIR}) endif() set(COMPONENT_LIBS RobotAPICore RobotAPIInterfaces ArmarXInterfaces ArmarXCore ArmarXCoreStatechart ArmarXCoreObservers)