Skip to content

Commit

Permalink
Add dependency on ament_index_cpp (#29)
Browse files Browse the repository at this point in the history
This is required to compile on the latest Rolling.
  • Loading branch information
clalancette authored Dec 27, 2023
1 parent 8a6260d commit 365582a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ add_executable(${PROJECT_NAME} src/rig_reconfigure.cpp src/service_wrapper.cpp s
#target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=thread)

target_include_directories(${PROJECT_NAME} PRIVATE include external/imspinner external/lodepng)
target_link_libraries(${PROJECT_NAME} imgui)
ament_target_dependencies(${PROJECT_NAME} rclcpp)
target_link_libraries(${PROJECT_NAME} imgui rclcpp::rclcpp ament_index_cpp::ament_index_cpp)

install(TARGETS ${PROJECT_NAME}
DESTINATION lib/${PROJECT_NAME}
Expand Down

0 comments on commit 365582a

Please sign in to comment.