From b46632601351afeb300195bbeef9681bd2db53ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0togl?= Date: Thu, 3 Dec 2020 00:27:03 +0100 Subject: [PATCH] Add disable-Boost-flag for tests --- joint_state_controller/CMakeLists.txt | 1 + joint_trajectory_controller/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/joint_state_controller/CMakeLists.txt b/joint_state_controller/CMakeLists.txt index 4c39fb5575..97082e3676 100644 --- a/joint_state_controller/CMakeLists.txt +++ b/joint_state_controller/CMakeLists.txt @@ -68,6 +68,7 @@ if(BUILD_TESTING) ament_target_dependencies(test_load_joint_state_controller controller_manager ) + target_compile_definitions(test_load_joint_state_controller PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS") ament_add_gmock( test_joint_state_controller diff --git a/joint_trajectory_controller/CMakeLists.txt b/joint_trajectory_controller/CMakeLists.txt index da5fcb7057..573b9b7c59 100644 --- a/joint_trajectory_controller/CMakeLists.txt +++ b/joint_trajectory_controller/CMakeLists.txt @@ -97,6 +97,7 @@ if(BUILD_TESTING) realtime_tools test_robot_hardware ) + target_compile_definitions(test_load_joint_trajectory_controller PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS") ament_add_gtest( test_trajectory_actions