Skip to content

Commit

Permalink
Export all dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
  • Loading branch information
mxgrey committed Feb 12, 2022
1 parent 75124bf commit 0bb350b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rmf_traffic_ros2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ ament_export_dependencies(
rclcpp
yaml-cpp
nlohmann_json
ZLIB
)

# TODO(MXG): Change these executables into shared libraries that can act as
Expand Down Expand Up @@ -253,4 +254,7 @@ install(
ARCHIVE DESTINATION lib
)

ament_package()
ament_package(
CONFIG_EXTRAS
cmake/proj_dependency.cmake
)
2 changes: 2 additions & 0 deletions rmf_traffic_ros2/cmake/proj_dependency.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
find_package(PkgConfig REQUIRED)
pkg_check_modules(PROJ REQUIRED IMPORTED_TARGET proj)

0 comments on commit 0bb350b

Please sign in to comment.