From 00a32d024af476bf50822e6df2fe2ec97765b1a9 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Mon, 14 Oct 2019 17:14:59 -0700 Subject: [PATCH] Add rostest include dirs (#195) * Make rostest headers available to tf_unittest Signed-off-by: Shane Loretz --- tf/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tf/CMakeLists.txt b/tf/CMakeLists.txt index 64ff9df4..4c757a4d 100644 --- a/tf/CMakeLists.txt +++ b/tf/CMakeLists.txt @@ -77,6 +77,7 @@ if(CATKIN_ENABLE_TESTING AND NOT ANDROID) find_package(rostest REQUIRED) catkin_add_gtest(tf_unittest test/tf_unittest.cpp) +target_include_directories(tf_unittest PRIVATE ${rostest_INCLUDE_DIRS}) target_link_libraries(tf_unittest ${PROJECT_NAME}) catkin_add_gtest(tf_quaternion_unittest test/quaternion.cpp)