Skip to content

Commit

Permalink
Fix header discovery issue
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Roncagliolo <[email protected]>
  • Loading branch information
roncapat committed Jan 10, 2025
1 parent 8ad6eb0 commit 35f3be3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ros_gz_sim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ rclcpp_components_register_node(
EXECUTABLE gzserver
)

target_include_directories(gzserver_component PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)

configure_file(
launch/gz_sim.launch.py.in
launch/gz_sim.launch.py.configured
Expand Down

0 comments on commit 35f3be3

Please sign in to comment.