Skip to content

Commit

Permalink
CMake: Bump minimum required cmake to 3.14.0
Browse files Browse the repository at this point in the history
CMake: Bump C++ standard to 16

CMake: Fix undefined symbol issue

This issue: ethz-asl#661 was
ignored by the original maintainers
  • Loading branch information
Hs293Go committed Jul 10, 2023
1 parent 91f560a commit 3051484
Show file tree
Hide file tree
Showing 10 changed files with 255 additions and 414 deletions.
2 changes: 1 addition & 1 deletion rotors_comm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.14.0)
project(rotors_comm)
find_package(
catkin REQUIRED COMPONENTS cmake_modules geometry_msgs message_generation
Expand Down
4 changes: 2 additions & 2 deletions rotors_control/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.14.0)
project(rotors_control)

add_definitions(-std=c++11)
add_definitions(-std=c++17)

find_package(catkin REQUIRED COMPONENTS geometry_msgs mav_msgs nav_msgs roscpp
sensor_msgs cmake_modules)
Expand Down
2 changes: 1 addition & 1 deletion rotors_description/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.14.0)
project(rotors_description)

find_package(catkin REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion rotors_evaluation/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.14.0)
project(rotors_evaluation)

find_package(catkin REQUIRED COMPONENTS rospy)
Expand Down
4 changes: 2 additions & 2 deletions rotors_gazebo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.14.0)
project(rotors_gazebo)

add_definitions(-std=c++11)
add_definitions(-std=c++17)

# --------------------------#
# Generation of SDF models #
Expand Down
Loading

0 comments on commit 3051484

Please sign in to comment.