From 4435d59d49fae0b24d22353bdcbdca99b3d4b9ef Mon Sep 17 00:00:00 2001 From: v4hn Date: Mon, 6 Mar 2023 14:37:24 +0100 Subject: [PATCH] bump cmake version to get rid of build-time warning about VERSION being managed by project() since 3.0 Keep the version consistent with other packages in ROS that applied similar fixes, e.g., https://github.com/ros/catkin/pull/1052 --- imu_monitor/CMakeLists.txt | 3 +-- pr2_bringup/CMakeLists.txt | 3 +-- pr2_camera_synchronizer/CMakeLists.txt | 3 +-- pr2_computer_monitor/CMakeLists.txt | 3 +-- pr2_controller_configuration/CMakeLists.txt | 3 +-- pr2_ethercat/CMakeLists.txt | 3 +-- pr2_robot/CMakeLists.txt | 2 +- pr2_run_stop_auto_restart/CMakeLists.txt | 3 +-- 8 files changed, 8 insertions(+), 15 deletions(-) diff --git a/imu_monitor/CMakeLists.txt b/imu_monitor/CMakeLists.txt index fcdc8c1..e829cca 100644 --- a/imu_monitor/CMakeLists.txt +++ b/imu_monitor/CMakeLists.txt @@ -1,5 +1,4 @@ -# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(imu_monitor) find_package(catkin REQUIRED) diff --git a/pr2_bringup/CMakeLists.txt b/pr2_bringup/CMakeLists.txt index 694f110..276fc79 100644 --- a/pr2_bringup/CMakeLists.txt +++ b/pr2_bringup/CMakeLists.txt @@ -1,5 +1,4 @@ -# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(pr2_bringup) # Load catkin and all dependencies required for this package diff --git a/pr2_camera_synchronizer/CMakeLists.txt b/pr2_camera_synchronizer/CMakeLists.txt index 3a24df4..3e0ccf7 100644 --- a/pr2_camera_synchronizer/CMakeLists.txt +++ b/pr2_camera_synchronizer/CMakeLists.txt @@ -1,5 +1,4 @@ -# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(pr2_camera_synchronizer) # Load catkin and all dependencies required for this package diff --git a/pr2_computer_monitor/CMakeLists.txt b/pr2_computer_monitor/CMakeLists.txt index e1d4269..2f6de56 100644 --- a/pr2_computer_monitor/CMakeLists.txt +++ b/pr2_computer_monitor/CMakeLists.txt @@ -1,5 +1,4 @@ -# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(pr2_computer_monitor) # Load catkin and all dependencies required for this package # TODO: remove all from COMPONENTS that are not catkin packages. diff --git a/pr2_controller_configuration/CMakeLists.txt b/pr2_controller_configuration/CMakeLists.txt index a870041..e6ed45d 100644 --- a/pr2_controller_configuration/CMakeLists.txt +++ b/pr2_controller_configuration/CMakeLists.txt @@ -1,5 +1,4 @@ -# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(pr2_controller_configuration) # Load catkin and all dependencies required for this package diff --git a/pr2_ethercat/CMakeLists.txt b/pr2_ethercat/CMakeLists.txt index e226c36..5fe467b 100644 --- a/pr2_ethercat/CMakeLists.txt +++ b/pr2_ethercat/CMakeLists.txt @@ -1,5 +1,4 @@ -# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(pr2_ethercat) # Load catkin and all dependencies required for this package diff --git a/pr2_robot/CMakeLists.txt b/pr2_robot/CMakeLists.txt index f4a5b2a..3249b31 100644 --- a/pr2_robot/CMakeLists.txt +++ b/pr2_robot/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(pr2_robot) find_package(catkin REQUIRED) catkin_metapackage() diff --git a/pr2_run_stop_auto_restart/CMakeLists.txt b/pr2_run_stop_auto_restart/CMakeLists.txt index b449b0a..714a50e 100644 --- a/pr2_run_stop_auto_restart/CMakeLists.txt +++ b/pr2_run_stop_auto_restart/CMakeLists.txt @@ -1,5 +1,4 @@ -# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html -cmake_minimum_required(VERSION 2.8.3) +cmake_minimum_required(VERSION 3.0.2) project(pr2_run_stop_auto_restart) # Load catkin and all dependencies required for this package