Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
Without this include specification, the tests can't find `ros/package.h`
  • Loading branch information
russelhowe committed May 23, 2019
1 parent 8ece976 commit f82abfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
add_executable(test_web_server EXCLUDE_FROM_ALL test_web_server.cpp)
target_link_libraries(test_web_server ${PROJECT_NAME} ${catkin_LIBRARIES})
include_directories(
${catkin_INCLUDE_DIRS}
)


if(TARGET tests)
add_dependencies(tests
Expand Down

0 comments on commit f82abfb

Please sign in to comment.