Skip to content

Commit

Permalink
PR #3100 from jiuguangw: Suppress CMake warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SamerKhshiboun authored Jun 10, 2024
2 parents 047d601 + 21fbfd7 commit 9feaee6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions realsense2_camera_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

if(POLICY CMP0148)
cmake_policy(SET CMP0148 OLD)
endif()

find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(builtin_interfaces REQUIRED)
Expand Down

0 comments on commit 9feaee6

Please sign in to comment.