Skip to content

Commit

Permalink
CMakeLists - fixed lack of planner config header when running tests…
Browse files Browse the repository at this point in the history
… relying on `config_ros` library
  • Loading branch information
rayvburn committed Jan 2, 2024
1 parent 8548711 commit 23ced08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ set_target_properties(vis PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR
add_library(config_ros include/${PROJECT_NAME}/humap_config_ros.h src/humap_config_ros.cpp)
target_link_libraries(config_ros config ${catkin_LIBRARIES})
set_target_properties(config_ros PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
#### Below helps with the `fatal error: humap_local_planner/HumapPlannerConfig.h: No such file or directory in
#### humap_config_ros.h` when running tests
add_dependencies(config_ros ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

## Library
add_library(humap_local_planner
Expand Down

0 comments on commit 23ced08

Please sign in to comment.