From d2b2469c7ea810d2e46abc2634f9fce758ed7fa7 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Tue, 30 Jan 2024 14:27:38 +0100 Subject: [PATCH 1/2] cmake_minimum_required is now 3.19 --- .github/workflows/ci.yml | 34 +++++++------------ CMakeLists.txt | 2 +- bindings/CMakeLists.txt | 2 +- doc/release/master.md | 1 + example/ContainerExample/CMakeLists.txt | 2 +- example/RFModulePlugin/CMakeLists.txt | 2 +- example/carrier/CMakeLists.txt | 2 +- example/cmake/hello/CMakeLists.txt | 2 +- example/cmake/versioned_yarp/CMakeLists.txt | 2 +- example/cmake/with_opencv/CMakeLists.txt | 2 +- example/dev/RGBD/CMakeLists.txt | 2 +- example/dev/attachable/CMakeLists.txt | 2 +- example/dev/audio_test/CMakeLists.txt | 2 +- example/dev/fake_motor/CMakeLists.txt | 2 +- example/dev/grabber_client/CMakeLists.txt | 2 +- example/dev/grabber_crop/CMakeLists.txt | 2 +- example/dev/motorcontrol/CMakeLists.txt | 2 +- example/dev/motortest/CMakeLists.txt | 2 +- .../dev/simple_motor_client/CMakeLists.txt | 2 +- example/dev_check/CMakeLists.txt | 2 +- example/dll/CMakeLists.txt | 2 +- example/external/c/CMakeLists.txt | 2 +- .../external/nameserver_proxy/CMakeLists.txt | 2 +- example/externaldevices/CMakeLists.txt | 2 +- example/externaldevices/baz/CMakeLists.txt | 2 +- .../externaldevices/baz/bazBot/CMakeLists.txt | 2 +- .../baz/bazDevice/CMakeLists.txt | 2 +- example/externaldevices/foo/CMakeLists.txt | 2 +- .../externaldevices/foo/fooBot/CMakeLists.txt | 2 +- .../foo/fooDevice/CMakeLists.txt | 2 +- example/framerate/CMakeLists.txt | 2 +- example/game/game_client/CMakeLists.txt | 2 +- example/game/game_clientmt/CMakeLists.txt | 2 +- example/game/game_server/CMakeLists.txt | 2 +- example/game/maze_maker/CMakeLists.txt | 2 +- example/game/minimal_client/CMakeLists.txt | 2 +- example/idl/portable/CMakeLists.txt | 2 +- example/idl/thrift/CMakeLists.txt | 2 +- example/idl/thriftEditor/CMakeLists.txt | 2 +- example/idl/thriftMonitor/CMakeLists.txt | 2 +- example/idl/thriftSimple/CMakeLists.txt | 2 +- example/imagemagick/CMakeLists.txt | 2 +- example/math/CMakeLists.txt | 2 +- example/matrix/CMakeLists.txt | 2 +- example/modular_robots/CMakeLists.txt | 2 +- example/opencv/CMakeLists.txt | 2 +- example/os/bottle/CMakeLists.txt | 2 +- example/os/bottle_add/CMakeLists.txt | 2 +- example/os/browse_bottle/CMakeLists.txt | 2 +- example/os/buffered_port/CMakeLists.txt | 2 +- example/os/database/CMakeLists.txt | 2 +- example/os/hello/CMakeLists.txt | 2 +- example/os/internal_monologue/CMakeLists.txt | 2 +- example/os/listports/CMakeLists.txt | 2 +- example/os/log/CMakeLists.txt | 2 +- example/os/make_count/CMakeLists.txt | 2 +- .../os/periodicThreadTiming/CMakeLists.txt | 2 +- example/os/periodicthread/CMakeLists.txt | 2 +- example/os/playback/CMakeLists.txt | 2 +- example/os/portable_pair/CMakeLists.txt | 2 +- example/os/queue_manager/CMakeLists.txt | 2 +- example/os/rfmodule/CMakeLists.txt | 2 +- example/os/rpc_client/CMakeLists.txt | 2 +- example/os/rpc_server/CMakeLists.txt | 2 +- example/os/simple_receiver/CMakeLists.txt | 2 +- example/os/simple_sender/CMakeLists.txt | 2 +- example/os/summer/CMakeLists.txt | 2 +- example/os/threads/CMakeLists.txt | 2 +- example/os/view_count/CMakeLists.txt | 2 +- example/plugin/lowlevel/CMakeLists.txt | 2 +- example/plugin/userlib/CMakeLists.txt | 2 +- .../userlib/fake_grabber/CMakeLists.txt | 2 +- example/port_power/CMakeLists.txt | 2 +- example/portmonitor/asciiimage/CMakeLists.txt | 2 +- example/portmonitor/simple_dll/CMakeLists.txt | 2 +- example/profiling/CMakeLists.txt | 2 +- example/property/CMakeLists.txt | 2 +- example/rand/CMakeLists.txt | 2 +- example/remote_check/CMakeLists.txt | 2 +- example/resourceFinder/CMakeLists.txt | 2 +- example/sig/image_process/CMakeLists.txt | 2 +- .../sig/image_process_module/CMakeLists.txt | 2 +- example/sig/image_source/CMakeLists.txt | 2 +- example/sig/send_sound_file/CMakeLists.txt | 2 +- example/sig/wav_test/CMakeLists.txt | 2 +- example/stressTests/CMakeLists.txt | 2 +- .../stressTests/mcast_elect/CMakeLists.txt | 2 +- .../stressTests/stress_connect/CMakeLists.txt | 2 +- .../stress_name_server/CMakeLists.txt | 2 +- .../testcase-client-server/CMakeLists.txt | 2 +- .../client/CMakeLists.txt | 2 +- .../server/CMakeLists.txt | 2 +- example/swig/CMakeLists.txt | 2 +- example/tutorial/CMakeLists.txt | 2 +- example/web/CMakeLists.txt | 2 +- tests/yarpidl_thrift/demo/CMakeLists.txt | 2 +- 96 files changed, 107 insertions(+), 116 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b29439054..69c3534906 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -170,16 +170,6 @@ jobs: fail-fast: false matrix: config: - - { - cmake_version: "3.17.*", - cmake_generator: "Unix Makefiles", - ycm_version: "0.15.3", - } - - { - cmake_version: "3.18.*", - cmake_generator: "Unix Makefiles", - ycm_version: "0.15.3", - } - { cmake_version: "3.19.*", cmake_generator: "Unix Makefiles", @@ -848,7 +838,7 @@ jobs: id: prepare_environment_script shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) set(_env_script ${CMAKE_CURRENT_LIST_DIR}/environment_script.cmake) file(WRITE "${_env_script}" "") @@ -963,14 +953,14 @@ jobs: - name: Print Environment Script shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) file(READ "${{ steps.prepare_environment_script.outputs.environment_script }}" _out) message("${_out}") - name: Print system information shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) set(_which_cmd which) @@ -1048,7 +1038,7 @@ jobs: - name: Configure shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) set(_generator) @@ -1118,7 +1108,7 @@ jobs: - name: Build shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) execute_process_x( @@ -1140,7 +1130,7 @@ jobs: - name: Run tests shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) execute_process_x( @@ -1160,7 +1150,7 @@ jobs: - name: Status Check shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) execute_process_x( @@ -1188,7 +1178,7 @@ jobs: - name: Test installation shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) execute_process_x( @@ -1206,7 +1196,7 @@ jobs: if: matrix.config.test_external_bindings shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) ### FIXME Can we avoid this duplication? @@ -1282,7 +1272,7 @@ jobs: if: matrix.config.test_external_bindings shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) ### FIXME Can we avoid this duplication? @@ -1357,7 +1347,7 @@ jobs: - name: Compress installation files shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) execute_process_x( @@ -1375,7 +1365,7 @@ jobs: - name: Cleanup shell: cmake -P {0} run: | - cmake_minimum_required(VERSION 3.17) + cmake_minimum_required(VERSION 3.19) include(${{ steps.prepare_environment_script.outputs.environment_script }}) # Reset ccache stats before uploading diff --git a/CMakeLists.txt b/CMakeLists.txt index 787c38e4ac..61463a0dc5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) # UseSWIG generates now standard target names. if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.13) diff --git a/bindings/CMakeLists.txt b/bindings/CMakeLists.txt index d50f394bfb..896dc1fd64 100644 --- a/bindings/CMakeLists.txt +++ b/bindings/CMakeLists.txt @@ -3,7 +3,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) # UseSWIG generates now standard target names. if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.13) diff --git a/doc/release/master.md b/doc/release/master.md index 42ca909182..a8317fccdf 100644 --- a/doc/release/master.md +++ b/doc/release/master.md @@ -13,6 +13,7 @@ Major Behaviour Changes --------------------------------- * ROS1 support removed from github repo https://github.com/robotology/yarp and moved to legacy repo https://github.com/robotology/yarp-ros +* Removed support for CMake 3.16/3.17. CMake minimum version is now 3.19 Deprecations and removals --------------------------------- diff --git a/example/ContainerExample/CMakeLists.txt b/example/ContainerExample/CMakeLists.txt index d7cb80745e..5dba1e0c4b 100644 --- a/example/ContainerExample/CMakeLists.txt +++ b/example/ContainerExample/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(ContainerExample) diff --git a/example/RFModulePlugin/CMakeLists.txt b/example/RFModulePlugin/CMakeLists.txt index 1c7abd12f2..456559ce82 100644 --- a/example/RFModulePlugin/CMakeLists.txt +++ b/example/RFModulePlugin/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(myModules) # Enable C++14 diff --git a/example/carrier/CMakeLists.txt b/example/carrier/CMakeLists.txt index 596caab0b9..63043a2a04 100644 --- a/example/carrier/CMakeLists.txt +++ b/example/carrier/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(Carrier) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/cmake/hello/CMakeLists.txt b/example/cmake/hello/CMakeLists.txt index d65074ec00..54cbc3bf0c 100644 --- a/example/cmake/hello/CMakeLists.txt +++ b/example/cmake/hello/CMakeLists.txt @@ -3,7 +3,7 @@ # SPDX-License-Identifier: BSD-3-Clause # YARP needs CMake 3.0 or greater -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) # find YARP find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/cmake/versioned_yarp/CMakeLists.txt b/example/cmake/versioned_yarp/CMakeLists.txt index 769754ecfe..dab347372d 100644 --- a/example/cmake/versioned_yarp/CMakeLists.txt +++ b/example/cmake/versioned_yarp/CMakeLists.txt @@ -4,7 +4,7 @@ # Test finding specific installed version of YARP -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) #find_package(YARP 2 REQUIRED) # should fail #find_package(YARP 3.3.3 REQUIRED) # should succeed for YARP 3.3.3 diff --git a/example/cmake/with_opencv/CMakeLists.txt b/example/cmake/with_opencv/CMakeLists.txt index 2b2e1964c7..0d00889a4d 100644 --- a/example/cmake/with_opencv/CMakeLists.txt +++ b/example/cmake/with_opencv/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) # create the program "foo" add_executable(foo) diff --git a/example/dev/RGBD/CMakeLists.txt b/example/dev/RGBD/CMakeLists.txt index 4956a4af5c..659738dfed 100644 --- a/example/dev/RGBD/CMakeLists.txt +++ b/example/dev/RGBD/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(RGBD) find_package(YARP REQUIRED COMPONENTS os sig dev) endif() diff --git a/example/dev/attachable/CMakeLists.txt b/example/dev/attachable/CMakeLists.txt index 7a62b6b8b9..1411f66c9d 100644 --- a/example/dev/attachable/CMakeLists.txt +++ b/example/dev/attachable/CMakeLists.txt @@ -3,7 +3,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(attachable) find_package(YARP REQUIRED COMPONENTS os sig dev) endif() diff --git a/example/dev/audio_test/CMakeLists.txt b/example/dev/audio_test/CMakeLists.txt index 74fa6f39c2..e0808da134 100644 --- a/example/dev/audio_test/CMakeLists.txt +++ b/example/dev/audio_test/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(audio_test) find_package(YARP REQUIRED COMPONENTS os sig dev) endif() diff --git a/example/dev/fake_motor/CMakeLists.txt b/example/dev/fake_motor/CMakeLists.txt index bd86ca8c66..687f721590 100644 --- a/example/dev/fake_motor/CMakeLists.txt +++ b/example/dev/fake_motor/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(fake_motor) find_package(YARP REQUIRED COMPONENTS os dev) endif() diff --git a/example/dev/grabber_client/CMakeLists.txt b/example/dev/grabber_client/CMakeLists.txt index 34c02fb335..ff76073fca 100644 --- a/example/dev/grabber_client/CMakeLists.txt +++ b/example/dev/grabber_client/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(grabber_client) find_package(YARP REQUIRED COMPONENTS os sig dev) endif() diff --git a/example/dev/grabber_crop/CMakeLists.txt b/example/dev/grabber_crop/CMakeLists.txt index e41c7c3c52..b9482e1741 100644 --- a/example/dev/grabber_crop/CMakeLists.txt +++ b/example/dev/grabber_crop/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(grabber_crop) find_package(YARP REQUIRED COMPONENTS os sig dev) endif() diff --git a/example/dev/motorcontrol/CMakeLists.txt b/example/dev/motorcontrol/CMakeLists.txt index 2fba1a3f3d..2d3e06ebd6 100644 --- a/example/dev/motorcontrol/CMakeLists.txt +++ b/example/dev/motorcontrol/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(motorcontrol) find_package(YARP REQUIRED COMPONENTS os dev) endif() diff --git a/example/dev/motortest/CMakeLists.txt b/example/dev/motortest/CMakeLists.txt index c5ecf2c9d8..f0e1322bb8 100644 --- a/example/dev/motortest/CMakeLists.txt +++ b/example/dev/motortest/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(motortest) find_package(YARP REQUIRED COMPONENTS os dev) endif() diff --git a/example/dev/simple_motor_client/CMakeLists.txt b/example/dev/simple_motor_client/CMakeLists.txt index 4ec9e21028..0f8cb993f0 100644 --- a/example/dev/simple_motor_client/CMakeLists.txt +++ b/example/dev/simple_motor_client/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(simple_motor_client) find_package(YARP REQUIRED COMPONENTS os dev) endif() diff --git a/example/dev_check/CMakeLists.txt b/example/dev_check/CMakeLists.txt index 54c17c6822..e069d0df40 100644 --- a/example/dev_check/CMakeLists.txt +++ b/example/dev_check/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(dev_check) find_package(YARP COMPONENTS os sig dev REQUIRED) diff --git a/example/dll/CMakeLists.txt b/example/dll/CMakeLists.txt index b033452fed..e743b3c472 100644 --- a/example/dll/CMakeLists.txt +++ b/example/dll/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/external/c/CMakeLists.txt b/example/external/c/CMakeLists.txt index 8f73bc2ee5..1ae69d2fac 100644 --- a/example/external/c/CMakeLists.txt +++ b/example/external/c/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) PROJECT(yarp_without_yarp_in_c) diff --git a/example/external/nameserver_proxy/CMakeLists.txt b/example/external/nameserver_proxy/CMakeLists.txt index d24336436c..37d203f026 100644 --- a/example/external/nameserver_proxy/CMakeLists.txt +++ b/example/external/nameserver_proxy/CMakeLists.txt @@ -4,7 +4,7 @@ # Make sure that YARP_DIR is set in your environment to wherever you # compiled YARP. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os name REQUIRED) diff --git a/example/externaldevices/CMakeLists.txt b/example/externaldevices/CMakeLists.txt index 55602c9905..7626806adb 100644 --- a/example/externaldevices/CMakeLists.txt +++ b/example/externaldevices/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/externaldevices/baz/CMakeLists.txt b/example/externaldevices/baz/CMakeLists.txt index 9bd91f3435..53d27d522c 100644 --- a/example/externaldevices/baz/CMakeLists.txt +++ b/example/externaldevices/baz/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP REQUIRED) diff --git a/example/externaldevices/baz/bazBot/CMakeLists.txt b/example/externaldevices/baz/bazBot/CMakeLists.txt index f851bbe580..aacc316e20 100644 --- a/example/externaldevices/baz/bazBot/CMakeLists.txt +++ b/example/externaldevices/baz/bazBot/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/externaldevices/baz/bazDevice/CMakeLists.txt b/example/externaldevices/baz/bazDevice/CMakeLists.txt index 0cfb01bcd5..94fef9a517 100644 --- a/example/externaldevices/baz/bazDevice/CMakeLists.txt +++ b/example/externaldevices/baz/bazDevice/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/externaldevices/foo/CMakeLists.txt b/example/externaldevices/foo/CMakeLists.txt index 6f4b873752..507d6e4280 100644 --- a/example/externaldevices/foo/CMakeLists.txt +++ b/example/externaldevices/foo/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/externaldevices/foo/fooBot/CMakeLists.txt b/example/externaldevices/foo/fooBot/CMakeLists.txt index fd3a911db2..c742d5c374 100644 --- a/example/externaldevices/foo/fooBot/CMakeLists.txt +++ b/example/externaldevices/foo/fooBot/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/externaldevices/foo/fooDevice/CMakeLists.txt b/example/externaldevices/foo/fooDevice/CMakeLists.txt index d28d6da418..78f7713eb7 100644 --- a/example/externaldevices/foo/fooDevice/CMakeLists.txt +++ b/example/externaldevices/foo/fooDevice/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/framerate/CMakeLists.txt b/example/framerate/CMakeLists.txt index e817f11337..8598039972 100644 --- a/example/framerate/CMakeLists.txt +++ b/example/framerate/CMakeLists.txt @@ -5,7 +5,7 @@ # Make sure that YARP_DIR is set in your environment to wherever you # compiled YARP. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os sig REQUIRED) diff --git a/example/game/game_client/CMakeLists.txt b/example/game/game_client/CMakeLists.txt index 92561a03f7..bf6b0e1f7b 100644 --- a/example/game/game_client/CMakeLists.txt +++ b/example/game/game_client/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(game_client) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/game/game_clientmt/CMakeLists.txt b/example/game/game_clientmt/CMakeLists.txt index 8de653d50d..9f2daeac33 100644 --- a/example/game/game_clientmt/CMakeLists.txt +++ b/example/game/game_clientmt/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(clientmt) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/game/game_server/CMakeLists.txt b/example/game/game_server/CMakeLists.txt index 13baf49137..a1634952c2 100644 --- a/example/game/game_server/CMakeLists.txt +++ b/example/game/game_server/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(game_server) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/game/maze_maker/CMakeLists.txt b/example/game/maze_maker/CMakeLists.txt index 1ad2ef7aaf..eb9272aeb1 100644 --- a/example/game/maze_maker/CMakeLists.txt +++ b/example/game/maze_maker/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(maze_maker) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/game/minimal_client/CMakeLists.txt b/example/game/minimal_client/CMakeLists.txt index 33447e2e9a..f9904b7aa3 100644 --- a/example/game/minimal_client/CMakeLists.txt +++ b/example/game/minimal_client/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(minimal_client) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/idl/portable/CMakeLists.txt b/example/idl/portable/CMakeLists.txt index 49c634f526..b797b6ffa2 100644 --- a/example/idl/portable/CMakeLists.txt +++ b/example/idl/portable/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(portable_example) set(CMAKE_CXX_FLAGS "-Weverything -Wno-c++98-compat -Wno-padded -Wno-shadow") diff --git a/example/idl/thrift/CMakeLists.txt b/example/idl/thrift/CMakeLists.txt index 4ce5c1c91b..fe9133e5d5 100644 --- a/example/idl/thrift/CMakeLists.txt +++ b/example/idl/thrift/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(thrift_example) find_package(YARP COMPONENTS os idl_tools REQUIRED) diff --git a/example/idl/thriftEditor/CMakeLists.txt b/example/idl/thriftEditor/CMakeLists.txt index f92c263483..46c34bbca8 100644 --- a/example/idl/thriftEditor/CMakeLists.txt +++ b/example/idl/thriftEditor/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(thriftEditor_example) find_package(YARP COMPONENTS os idl_tools REQUIRED) diff --git a/example/idl/thriftMonitor/CMakeLists.txt b/example/idl/thriftMonitor/CMakeLists.txt index 1fba6d9944..5148d064a0 100644 --- a/example/idl/thriftMonitor/CMakeLists.txt +++ b/example/idl/thriftMonitor/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause # //! [CMakeLists.txt Protocol Library] -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(thriftEditor_example) # Needed to link the static library from the plugin, on 64 bit diff --git a/example/idl/thriftSimple/CMakeLists.txt b/example/idl/thriftSimple/CMakeLists.txt index 7de6e3905a..9e10615f53 100644 --- a/example/idl/thriftSimple/CMakeLists.txt +++ b/example/idl/thriftSimple/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(thriftSimple_example) set(CMAKE_CXX_FLAGS "-Weverything -Wno-c++98-compat -Wno-padded") diff --git a/example/imagemagick/CMakeLists.txt b/example/imagemagick/CMakeLists.txt index b13591773c..3a3b7fad6a 100644 --- a/example/imagemagick/CMakeLists.txt +++ b/example/imagemagick/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(magicktest) find_package(YARP COMPONENTS sig REQUIRED) diff --git a/example/math/CMakeLists.txt b/example/math/CMakeLists.txt index 863736e949..25f1b2f710 100644 --- a/example/math/CMakeLists.txt +++ b/example/math/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(math_examples) find_package(YARP COMPONENTS os sig math REQUIRED) diff --git a/example/matrix/CMakeLists.txt b/example/matrix/CMakeLists.txt index a8ef987677..69f36ddaa4 100644 --- a/example/matrix/CMakeLists.txt +++ b/example/matrix/CMakeLists.txt @@ -5,7 +5,7 @@ # Make sure that YARP_DIR is set in your environment to wherever you # compiled YARP. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(Matrix) find_package(YARP REQUIRED COMPONENTS sig math gsl) diff --git a/example/modular_robots/CMakeLists.txt b/example/modular_robots/CMakeLists.txt index 486917c553..8ebb4f038f 100644 --- a/example/modular_robots/CMakeLists.txt +++ b/example/modular_robots/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os name math REQUIRED) diff --git a/example/opencv/CMakeLists.txt b/example/opencv/CMakeLists.txt index b97e7ef5e1..4133f6f17e 100644 --- a/example/opencv/CMakeLists.txt +++ b/example/opencv/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(opencv_test) find_package(YARP REQUIRED COMPONENTS sig cv) diff --git a/example/os/bottle/CMakeLists.txt b/example/os/bottle/CMakeLists.txt index ae6c96803d..c934ea074d 100644 --- a/example/os/bottle/CMakeLists.txt +++ b/example/os/bottle/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(bottle) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/bottle_add/CMakeLists.txt b/example/os/bottle_add/CMakeLists.txt index da2ecf4a6a..bb91d0bfc8 100644 --- a/example/os/bottle_add/CMakeLists.txt +++ b/example/os/bottle_add/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(bottle_add) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/browse_bottle/CMakeLists.txt b/example/os/browse_bottle/CMakeLists.txt index d29d12680c..b8fa724a45 100644 --- a/example/os/browse_bottle/CMakeLists.txt +++ b/example/os/browse_bottle/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(browse_bottle) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/buffered_port/CMakeLists.txt b/example/os/buffered_port/CMakeLists.txt index 758e71c3a1..ee5c4c6118 100644 --- a/example/os/buffered_port/CMakeLists.txt +++ b/example/os/buffered_port/CMakeLists.txt @@ -3,7 +3,7 @@ #! [buffered_port CMakeLists.txt] if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(buffered_port) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/database/CMakeLists.txt b/example/os/database/CMakeLists.txt index 3e122f94b0..701218b325 100644 --- a/example/os/database/CMakeLists.txt +++ b/example/os/database/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(database) find_package(YARP REQUIRED COMPONENTS os dev) endif() diff --git a/example/os/hello/CMakeLists.txt b/example/os/hello/CMakeLists.txt index e4d8a0009a..62cb2d02be 100644 --- a/example/os/hello/CMakeLists.txt +++ b/example/os/hello/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(hello) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/internal_monologue/CMakeLists.txt b/example/os/internal_monologue/CMakeLists.txt index 7e8c04f31e..17073032be 100644 --- a/example/os/internal_monologue/CMakeLists.txt +++ b/example/os/internal_monologue/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(internal_monologue) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/listports/CMakeLists.txt b/example/os/listports/CMakeLists.txt index 333bf5e6f8..9fc0b8bbea 100644 --- a/example/os/listports/CMakeLists.txt +++ b/example/os/listports/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(listports) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/log/CMakeLists.txt b/example/os/log/CMakeLists.txt index e1bc1c75ec..244ab6e3ba 100644 --- a/example/os/log/CMakeLists.txt +++ b/example/os/log/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(log_test) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/make_count/CMakeLists.txt b/example/os/make_count/CMakeLists.txt index ed47d8a1a0..0fdceb0d22 100644 --- a/example/os/make_count/CMakeLists.txt +++ b/example/os/make_count/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(make_count) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/periodicThreadTiming/CMakeLists.txt b/example/os/periodicThreadTiming/CMakeLists.txt index 8e6d9c833d..6d915524f5 100644 --- a/example/os/periodicThreadTiming/CMakeLists.txt +++ b/example/os/periodicThreadTiming/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(periodicThreadTiming) find_package(YARP REQUIRED COMPONENTS os sig) endif() diff --git a/example/os/periodicthread/CMakeLists.txt b/example/os/periodicthread/CMakeLists.txt index 4e0e77dcff..4973620474 100644 --- a/example/os/periodicthread/CMakeLists.txt +++ b/example/os/periodicthread/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(periodicthread) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/playback/CMakeLists.txt b/example/os/playback/CMakeLists.txt index 3b698f9c6c..33b80481ee 100644 --- a/example/os/playback/CMakeLists.txt +++ b/example/os/playback/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(playback) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/portable_pair/CMakeLists.txt b/example/os/portable_pair/CMakeLists.txt index 8e6f3bed8b..557b023658 100644 --- a/example/os/portable_pair/CMakeLists.txt +++ b/example/os/portable_pair/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(portable_pair) find_package(YARP REQUIRED COMPONENTS os sig) endif() diff --git a/example/os/queue_manager/CMakeLists.txt b/example/os/queue_manager/CMakeLists.txt index 673a0726b9..a06ccc0942 100644 --- a/example/os/queue_manager/CMakeLists.txt +++ b/example/os/queue_manager/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(queue_manager) find_package(YARP REQUIRED COMPONENTS os dev) endif() diff --git a/example/os/rfmodule/CMakeLists.txt b/example/os/rfmodule/CMakeLists.txt index fb736a0a02..488fbb81d1 100644 --- a/example/os/rfmodule/CMakeLists.txt +++ b/example/os/rfmodule/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(rfmodule) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/rpc_client/CMakeLists.txt b/example/os/rpc_client/CMakeLists.txt index fe21a58094..20bafec113 100644 --- a/example/os/rpc_client/CMakeLists.txt +++ b/example/os/rpc_client/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(rpc_client) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/rpc_server/CMakeLists.txt b/example/os/rpc_server/CMakeLists.txt index dd95fe4bfe..0bf1bab83b 100644 --- a/example/os/rpc_server/CMakeLists.txt +++ b/example/os/rpc_server/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(rpc_server) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/simple_receiver/CMakeLists.txt b/example/os/simple_receiver/CMakeLists.txt index e3cb5c7367..36cad334b5 100644 --- a/example/os/simple_receiver/CMakeLists.txt +++ b/example/os/simple_receiver/CMakeLists.txt @@ -3,7 +3,7 @@ #! [simple_receiver CMakeLists.txt] if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(simple_receiver) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/simple_sender/CMakeLists.txt b/example/os/simple_sender/CMakeLists.txt index acd1b97f62..29b9a1ac25 100644 --- a/example/os/simple_sender/CMakeLists.txt +++ b/example/os/simple_sender/CMakeLists.txt @@ -3,7 +3,7 @@ #! [simple_sender CMakeLists.txt] if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(simple_sender) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/summer/CMakeLists.txt b/example/os/summer/CMakeLists.txt index 6b3e3410f4..1c751f9f47 100644 --- a/example/os/summer/CMakeLists.txt +++ b/example/os/summer/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(summer) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/threads/CMakeLists.txt b/example/os/threads/CMakeLists.txt index 25833b2107..b237c25c24 100644 --- a/example/os/threads/CMakeLists.txt +++ b/example/os/threads/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(threads) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/os/view_count/CMakeLists.txt b/example/os/view_count/CMakeLists.txt index b01897f6bf..1adb2b004c 100644 --- a/example/os/view_count/CMakeLists.txt +++ b/example/os/view_count/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(view_count) find_package(YARP REQUIRED COMPONENTS os) endif() diff --git a/example/plugin/lowlevel/CMakeLists.txt b/example/plugin/lowlevel/CMakeLists.txt index 09def867d6..e9e6ad4059 100644 --- a/example/plugin/lowlevel/CMakeLists.txt +++ b/example/plugin/lowlevel/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/plugin/userlib/CMakeLists.txt b/example/plugin/userlib/CMakeLists.txt index 280e2f9f9a..ca70af989a 100644 --- a/example/plugin/userlib/CMakeLists.txt +++ b/example/plugin/userlib/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/plugin/userlib/fake_grabber/CMakeLists.txt b/example/plugin/userlib/fake_grabber/CMakeLists.txt index a4805b0e93..b0a532f162 100644 --- a/example/plugin/userlib/fake_grabber/CMakeLists.txt +++ b/example/plugin/userlib/fake_grabber/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) # Declare a device called "fake_grabber", with C++ type diff --git a/example/port_power/CMakeLists.txt b/example/port_power/CMakeLists.txt index b627936838..993a1fc4ca 100644 --- a/example/port_power/CMakeLists.txt +++ b/example/port_power/CMakeLists.txt @@ -5,7 +5,7 @@ # Make sure that YARP_DIR is set in your environment to wherever you # compiled YARP. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(PortPower) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/portmonitor/asciiimage/CMakeLists.txt b/example/portmonitor/asciiimage/CMakeLists.txt index 3b996955e5..18d36fbafa 100644 --- a/example/portmonitor/asciiimage/CMakeLists.txt +++ b/example/portmonitor/asciiimage/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause project(yarp_pm_asciiimage) -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os sig dev REQUIRED) diff --git a/example/portmonitor/simple_dll/CMakeLists.txt b/example/portmonitor/simple_dll/CMakeLists.txt index 5d27ab3a81..f6821360be 100644 --- a/example/portmonitor/simple_dll/CMakeLists.txt +++ b/example/portmonitor/simple_dll/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os sig dev REQUIRED) diff --git a/example/profiling/CMakeLists.txt b/example/profiling/CMakeLists.txt index e3ee83f4a4..95341b8190 100644 --- a/example/profiling/CMakeLists.txt +++ b/example/profiling/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(Profiling) # replace "..." with the path to your YARP binaries if needed diff --git a/example/property/CMakeLists.txt b/example/property/CMakeLists.txt index 1212d843f2..ff572905c6 100644 --- a/example/property/CMakeLists.txt +++ b/example/property/CMakeLists.txt @@ -5,7 +5,7 @@ # Make sure that YARP_DIR is set in your environment to wherever you # compiled YARP. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(property) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/rand/CMakeLists.txt b/example/rand/CMakeLists.txt index 18701bea5c..30c48e4a84 100644 --- a/example/rand/CMakeLists.txt +++ b/example/rand/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(Rand) find_package(YARP COMPONENTS sig math REQUIRED) diff --git a/example/remote_check/CMakeLists.txt b/example/remote_check/CMakeLists.txt index ae56f1ffb2..169f100439 100644 --- a/example/remote_check/CMakeLists.txt +++ b/example/remote_check/CMakeLists.txt @@ -5,7 +5,7 @@ # Make sure that YARP_DIR is set in your environment to wherever you # compiled YARP. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(remote_check) find_package(YARP COMPONENTS os sig dev REQUIRED) diff --git a/example/resourceFinder/CMakeLists.txt b/example/resourceFinder/CMakeLists.txt index 736420eb21..c3fef974cb 100644 --- a/example/resourceFinder/CMakeLists.txt +++ b/example/resourceFinder/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(resourceFinder) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/sig/image_process/CMakeLists.txt b/example/sig/image_process/CMakeLists.txt index eb54cb8c46..1b40ed73d4 100644 --- a/example/sig/image_process/CMakeLists.txt +++ b/example/sig/image_process/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(image_process) find_package(YARP REQUIRED COMPONENTS os sig) endif() diff --git a/example/sig/image_process_module/CMakeLists.txt b/example/sig/image_process_module/CMakeLists.txt index 4c7c90c60f..3e083a9c00 100644 --- a/example/sig/image_process_module/CMakeLists.txt +++ b/example/sig/image_process_module/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(image_process_module) find_package(YARP REQUIRED COMPONENTS os sig) endif() diff --git a/example/sig/image_source/CMakeLists.txt b/example/sig/image_source/CMakeLists.txt index 372ef1fc05..8e8b73b753 100644 --- a/example/sig/image_source/CMakeLists.txt +++ b/example/sig/image_source/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(image_source) find_package(YARP REQUIRED COMPONENTS os sig) endif() diff --git a/example/sig/send_sound_file/CMakeLists.txt b/example/sig/send_sound_file/CMakeLists.txt index 5edc9cf16d..1938edcda3 100644 --- a/example/sig/send_sound_file/CMakeLists.txt +++ b/example/sig/send_sound_file/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(send_sound_file) find_package(YARP REQUIRED COMPONENTS os sig) endif() diff --git a/example/sig/wav_test/CMakeLists.txt b/example/sig/wav_test/CMakeLists.txt index ac31a8da60..3ec85b5e20 100644 --- a/example/sig/wav_test/CMakeLists.txt +++ b/example/sig/wav_test/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.19) project(wav_test) find_package(YARP REQUIRED COMPONENTS sig) endif() diff --git a/example/stressTests/CMakeLists.txt b/example/stressTests/CMakeLists.txt index 7ff34283d3..c60109faad 100644 --- a/example/stressTests/CMakeLists.txt +++ b/example/stressTests/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(stressTests) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/stressTests/mcast_elect/CMakeLists.txt b/example/stressTests/mcast_elect/CMakeLists.txt index c60655582b..af56768f15 100644 --- a/example/stressTests/mcast_elect/CMakeLists.txt +++ b/example/stressTests/mcast_elect/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) # Start a project. project(mcast_elect) diff --git a/example/stressTests/stress_connect/CMakeLists.txt b/example/stressTests/stress_connect/CMakeLists.txt index 05df71c583..428bdd056c 100644 --- a/example/stressTests/stress_connect/CMakeLists.txt +++ b/example/stressTests/stress_connect/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/stressTests/stress_name_server/CMakeLists.txt b/example/stressTests/stress_name_server/CMakeLists.txt index 898664170e..2ebaa4b27e 100644 --- a/example/stressTests/stress_name_server/CMakeLists.txt +++ b/example/stressTests/stress_name_server/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os REQUIRED) diff --git a/example/stressTests/testcase-client-server/CMakeLists.txt b/example/stressTests/testcase-client-server/CMakeLists.txt index 054b55905a..c85c3d4a3c 100644 --- a/example/stressTests/testcase-client-server/CMakeLists.txt +++ b/example/stressTests/testcase-client-server/CMakeLists.txt @@ -4,7 +4,7 @@ project(collatzConjecture) -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) add_subdirectory(client) add_subdirectory(server) diff --git a/example/stressTests/testcase-client-server/client/CMakeLists.txt b/example/stressTests/testcase-client-server/client/CMakeLists.txt index 17a59e567d..437adbba9e 100644 --- a/example/stressTests/testcase-client-server/client/CMakeLists.txt +++ b/example/stressTests/testcase-client-server/client/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(collatzClient) # Add YARP to the "packages" used by this project. diff --git a/example/stressTests/testcase-client-server/server/CMakeLists.txt b/example/stressTests/testcase-client-server/server/CMakeLists.txt index afefbf5fd4..12fefef031 100644 --- a/example/stressTests/testcase-client-server/server/CMakeLists.txt +++ b/example/stressTests/testcase-client-server/server/CMakeLists.txt @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(collatzServer) # Add YARP to the "packages" used by this project. diff --git a/example/swig/CMakeLists.txt b/example/swig/CMakeLists.txt index e18d7c54dd..86a9dcb96a 100644 --- a/example/swig/CMakeLists.txt +++ b/example/swig/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) set(BEND_OVER_BACKWARDS_COMPATIBLE TRUE) diff --git a/example/tutorial/CMakeLists.txt b/example/tutorial/CMakeLists.txt index 75ce4dde35..91f8a0ceeb 100644 --- a/example/tutorial/CMakeLists.txt +++ b/example/tutorial/CMakeLists.txt @@ -6,7 +6,7 @@ # compiled YARP. project(run_fakebot) -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os dev REQUIRED) diff --git a/example/web/CMakeLists.txt b/example/web/CMakeLists.txt index 91fa5bafc0..2d64cf67f5 100644 --- a/example/web/CMakeLists.txt +++ b/example/web/CMakeLists.txt @@ -4,7 +4,7 @@ # Make sure that YARP_DIR is set in your environment to wherever you # compiled YARP. -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) find_package(YARP COMPONENTS os REQUIRED) diff --git a/tests/yarpidl_thrift/demo/CMakeLists.txt b/tests/yarpidl_thrift/demo/CMakeLists.txt index edfaea8779..fcef0480b2 100644 --- a/tests/yarpidl_thrift/demo/CMakeLists.txt +++ b/tests/yarpidl_thrift/demo/CMakeLists.txt @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT) # SPDX-License-Identifier: BSD-3-Clause -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.19) project(demo) enable_testing() From ba2f4797400bb15d7ce5a3e95b6240076a9bafa7 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Tue, 30 Jan 2024 16:24:38 +0100 Subject: [PATCH 2/2] fixed set_property for CMake3.19 --- cmake/YarpFindDependencies.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/YarpFindDependencies.cmake b/cmake/YarpFindDependencies.cmake index 77986e8c2d..c47eb391a4 100644 --- a/cmake/YarpFindDependencies.cmake +++ b/cmake/YarpFindDependencies.cmake @@ -478,14 +478,14 @@ endmacro() option(SKIP_ACE "Compile YARP without ACE (Linux only, limited functionality)" OFF) mark_as_advanced(SKIP_ACE) if(SKIP_ACE) - set_property(CACHE YARP_USE_ACE PROPERTY VALUE FALSE) + set(YARP_USE_ACE FALSE CACHE BOOL "Use ACE" FORCE) unset(YARP_HAS_ACE) # Not set = disabled elseif(YARP_HAS_SYSTEM_ACE) - set_property(CACHE YARP_USE_ACE PROPERTY VALUE TRUE) + set(YARP_USE_ACE TRUE CACHE BOOL "Use ACE" FORCE) set(YARP_HAS_ACE TRUE) set(YARP_USE_SYSTEM_ACE TRUE) else() - set_property(CACHE YARP_USE_ACE PROPERTY VALUE FALSE) + set(YARP_USE_ACE FALSE CACHE BOOL "Use ACE" FORCE) set(YARP_HAS_ACE FALSE) endif() set_property(CACHE YARP_USE_ACE PROPERTY TYPE INTERNAL)