Skip to content

Commit f82abfb

Browse files
committed
Fix unit tests
Without this include specification, the tests can't find `ros/package.h`
1 parent 8ece976 commit f82abfb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
add_executable(test_web_server EXCLUDE_FROM_ALL test_web_server.cpp)
22
target_link_libraries(test_web_server ${PROJECT_NAME} ${catkin_LIBRARIES})
3+
include_directories(
4+
${catkin_INCLUDE_DIRS}
5+
)
6+
37

48
if(TARGET tests)
59
add_dependencies(tests

0 commit comments

Comments
 (0)