Skip to content

Commit

Permalink
Merge pull request #2707 from drdanz/update_toolchain
Browse files Browse the repository at this point in the history
Require CMake 3.16 and C++17
  • Loading branch information
drdanz authored Sep 21, 2021
2 parents 7660daa + 6571751 commit 4434716
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/idl/rosPortable/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.16)

find_package(YARP COMPONENTS os idl_tools REQUIRED)

Expand Down
2 changes: 1 addition & 1 deletion example/ros/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.16)
project(yarp_ros_example)

find_package(YARP 3.3.103 COMPONENTS os dev math rosmsg idl_tools REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion example/ros/package/src/yarp_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.16)
project(yarp_test)
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs message_generation)
add_service_files(FILES AddTwoInts.srv)
Expand Down
2 changes: 1 addition & 1 deletion example/yarpros_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.16)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)

# Set the build type. Options are:
Expand Down

0 comments on commit 4434716

Please sign in to comment.