Skip to content

Commit c12e541

Browse files
committed
test: Add catkin_INCLUDE_DIRS to tests
1 parent c04b7fd commit c12e541

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
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+
target_include_directories(test_web_server PRIVATE ${catkin_INCLUDE_DIRS})
34

45
if(TARGET tests)
56
add_dependencies(tests

0 commit comments

Comments
 (0)