Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions grid_map_pcl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ find_package(grid_map_cmake_helpers REQUIRED)
find_package(grid_map_core REQUIRED)
find_package(grid_map_msgs REQUIRED)
find_package(grid_map_ros REQUIRED)

# PCL's package configuration uses upper-case *_ROOT variables for some of its
# dependencies (for example EIGEN_ROOT and FLANN_ROOT). CMake 3.27+ warns unless
# CMP0144 is selected before PCLConfig.cmake is evaluated.
if(POLICY CMP0144)
cmake_policy(SET CMP0144 NEW)
endif()
find_package(PCL REQUIRED) ## See ROS REP2000 for expected PCL version
find_package(rclcpp REQUIRED)
find_package(rcutils REQUIRED)
Expand Down
7 changes: 7 additions & 0 deletions grid_map_sdf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ project(grid_map_sdf)
find_package(ament_cmake REQUIRED)
find_package(grid_map_cmake_helpers REQUIRED)
find_package(grid_map_core REQUIRED)

# PCL's package configuration uses upper-case *_ROOT variables for some of its
# dependencies (for example EIGEN_ROOT and FLANN_ROOT). CMake 3.27+ warns unless
# CMP0144 is selected before PCLConfig.cmake is evaluated.
if(POLICY CMP0144)
cmake_policy(SET CMP0144 NEW)
endif()
find_package(PCL REQUIRED COMPONENTS common)

## System dependencies are found with CMake's conventions
Expand Down