Skip to content

Commit

Permalink
Add rostest include dirs (#195)
Browse files Browse the repository at this point in the history
* Make rostest headers available to tf_unittest

Signed-off-by: Shane Loretz <[email protected]>
  • Loading branch information
sloretz authored and tfoote committed Oct 15, 2019
1 parent 8c2f2d6 commit 00a32d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 00a32d0

Please sign in to comment.