diff --git a/CMakeLists.txt b/CMakeLists.txt index c77973cd1c..9210570264 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,5 @@ -# Xenial requires 3.5, Bionic 3.10... -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) set( LRS_TARGET realsense2 ) project( ${LRS_TARGET} LANGUAGES CXX C ) diff --git a/common/fw/CMakeLists.txt b/common/fw/CMakeLists.txt index c9a009c6d5..f2708445eb 100644 --- a/common/fw/CMakeLists.txt +++ b/common/fw/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.3) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(fw) diff --git a/examples/C/color/CMakeLists.txt b/examples/C/color/CMakeLists.txt index 4383cea3ee..364738306d 100644 --- a/examples/C/color/CMakeLists.txt +++ b/examples/C/color/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamples-Color) diff --git a/examples/C/depth/CMakeLists.txt b/examples/C/depth/CMakeLists.txt index c3ea773a4c..aecdb7998a 100644 --- a/examples/C/depth/CMakeLists.txt +++ b/examples/C/depth/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 20192024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamples-Depth) diff --git a/examples/C/distance/CMakeLists.txt b/examples/C/distance/CMakeLists.txt index bfda2a4432..e34039e3f0 100644 --- a/examples/C/distance/CMakeLists.txt +++ b/examples/C/distance/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamples-Distance) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 8ad422e733..083e15493c 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) # Save the command line compile commands in the build output set(CMAKE_EXPORT_COMPILE_COMMANDS 1) diff --git a/examples/align-advanced/CMakeLists.txt b/examples/align-advanced/CMakeLists.txt index f174e64706..d8e5639519 100644 --- a/examples/align-advanced/CMakeLists.txt +++ b/examples/align-advanced/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesAlignAdvanced) diff --git a/examples/align-gl/CMakeLists.txt b/examples/align-gl/CMakeLists.txt index 565084e289..4c80488eb4 100644 --- a/examples/align-gl/CMakeLists.txt +++ b/examples/align-gl/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. # Copyright(c) 2024 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesAlignGl ) diff --git a/examples/align/CMakeLists.txt b/examples/align/CMakeLists.txt index 58e01d1348..dc56ad2ab2 100644 --- a/examples/align/CMakeLists.txt +++ b/examples/align/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesAlign) diff --git a/examples/callback/CMakeLists.txt b/examples/callback/CMakeLists.txt index 8998a63eb9..973e9116df 100644 --- a/examples/callback/CMakeLists.txt +++ b/examples/callback/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(rs-callback) diff --git a/examples/capture/CMakeLists.txt b/examples/capture/CMakeLists.txt index abf1c4dd7e..7e469ec2ac 100644 --- a/examples/capture/CMakeLists.txt +++ b/examples/capture/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesCapture) diff --git a/examples/cmake/CMakeLists.txt b/examples/cmake/CMakeLists.txt index 682b9a76d6..f61e076624 100644 --- a/examples/cmake/CMakeLists.txt +++ b/examples/cmake/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(hello_librealsense2) diff --git a/examples/cmake/readme.md b/examples/cmake/readme.md index 92eca0a18e..83f49d7feb 100644 --- a/examples/cmake/readme.md +++ b/examples/cmake/readme.md @@ -15,7 +15,7 @@ Install the SDK or build it from source ([Linux](https://github.com/IntelRealSe Set minimum required CMake version ``` -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) ``` Name the project, in this sample the project name will be also the executable name diff --git a/examples/gl/CMakeLists.txt b/examples/gl/CMakeLists.txt index 0aeedf72d4..f7692f62a9 100644 --- a/examples/gl/CMakeLists.txt +++ b/examples/gl/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesGL) diff --git a/examples/hdr/CMakeLists.txt b/examples/hdr/CMakeLists.txt index 26d3184fbe..0407b3dc7a 100644 --- a/examples/hdr/CMakeLists.txt +++ b/examples/hdr/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2020 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2020-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesHdr) diff --git a/examples/hello-realsense/CMakeLists.txt b/examples/hello-realsense/CMakeLists.txt index 2d0bba1b04..ceb6a7910a 100644 --- a/examples/hello-realsense/CMakeLists.txt +++ b/examples/hello-realsense/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesHelloRealSense) diff --git a/examples/measure/CMakeLists.txt b/examples/measure/CMakeLists.txt index 4b230eced0..1909939708 100644 --- a/examples/measure/CMakeLists.txt +++ b/examples/measure/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesMeasure) diff --git a/examples/motion/CMakeLists.txt b/examples/motion/CMakeLists.txt index b99e0f5afa..219003331b 100644 --- a/examples/motion/CMakeLists.txt +++ b/examples/motion/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesMotion) diff --git a/examples/multicam/CMakeLists.txt b/examples/multicam/CMakeLists.txt index e78ef3f1a8..26e12744c1 100644 --- a/examples/multicam/CMakeLists.txt +++ b/examples/multicam/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesMulticam) diff --git a/examples/pointcloud/CMakeLists.txt b/examples/pointcloud/CMakeLists.txt index 4c58fea56f..a548a7a73c 100644 --- a/examples/pointcloud/CMakeLists.txt +++ b/examples/pointcloud/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesPointcloud) diff --git a/examples/post-processing/CMakeLists.txt b/examples/post-processing/CMakeLists.txt index 4aeb37b1c9..46c405f232 100644 --- a/examples/post-processing/CMakeLists.txt +++ b/examples/post-processing/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesPost-Processing) diff --git a/examples/record-playback/CMakeLists.txt b/examples/record-playback/CMakeLists.txt index 208ccc8163..36865ca426 100644 --- a/examples/record-playback/CMakeLists.txt +++ b/examples/record-playback/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesRecord-Playback) diff --git a/examples/save-to-disk/CMakeLists.txt b/examples/save-to-disk/CMakeLists.txt index 9af93aab3e..0f7d894537 100644 --- a/examples/save-to-disk/CMakeLists.txt +++ b/examples/save-to-disk/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesSaveToDisk) diff --git a/examples/sensor-control/CMakeLists.txt b/examples/sensor-control/CMakeLists.txt index b6c03928e9..64d6f29ffe 100644 --- a/examples/sensor-control/CMakeLists.txt +++ b/examples/sensor-control/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesSensorControl) diff --git a/examples/software-device/CMakeLists.txt b/examples/software-device/CMakeLists.txt index 12b84c8c5f..28539563e0 100644 --- a/examples/software-device/CMakeLists.txt +++ b/examples/software-device/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesSoftwareDevice) diff --git a/src/gl/CMakeLists.txt b/src/gl/CMakeLists.txt index a6cd8e17b7..c541429c8a 100644 --- a/src/gl/CMakeLists.txt +++ b/src/gl/CMakeLists.txt @@ -1,7 +1,7 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 2.8.9...3.20.5) +cmake_minimum_required(VERSION 3.8) project(realsense2-gl) diff --git a/third-party/glfw/CMakeLists.txt b/third-party/glfw/CMakeLists.txt index 4e6167e26d..ed57957ce9 100644 --- a/third-party/glfw/CMakeLists.txt +++ b/third-party/glfw/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.8) project(GLFW C) diff --git a/third-party/realdds/py/CMakeLists.txt b/third-party/realdds/py/CMakeLists.txt index c22d051679..947e74664d 100644 --- a/third-party/realdds/py/CMakeLists.txt +++ b/third-party/realdds/py/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2022 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2022-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project( pyrealdds ) set( PYREALDDS_FILES diff --git a/third-party/realsense-file/CMakeLists.txt b/third-party/realsense-file/CMakeLists.txt index 63c3526b1d..e1f25959a6 100644 --- a/third-party/realsense-file/CMakeLists.txt +++ b/third-party/realsense-file/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.9...3.20.5) +cmake_minimum_required(VERSION 3.8) project(realsense-file) diff --git a/third-party/realsense-file/rosbag/config.cmake b/third-party/realsense-file/rosbag/config.cmake index eec8277cec..42b986f6c5 100644 --- a/third-party/realsense-file/rosbag/config.cmake +++ b/third-party/realsense-file/rosbag/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8...3.20.5) +cmake_minimum_required(VERSION 3.8) include(${CMAKE_CURRENT_LIST_DIR}/console_bridge/config.cmake) include(${CMAKE_CURRENT_LIST_DIR}/rosbag_storage/config.cmake) diff --git a/third-party/realsense-file/rosbag/console_bridge/config.cmake b/third-party/realsense-file/rosbag/console_bridge/config.cmake index 99cd290dbf..439c213b03 100644 --- a/third-party/realsense-file/rosbag/console_bridge/config.cmake +++ b/third-party/realsense-file/rosbag/console_bridge/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8...3.20.5) +cmake_minimum_required(VERSION 3.8) set(HEADER_FILES_CONSOLE_BRIDGE ${CMAKE_CURRENT_LIST_DIR}/include/console_bridge/console.h diff --git a/third-party/realsense-file/rosbag/cpp_common/config.cmake b/third-party/realsense-file/rosbag/cpp_common/config.cmake index f5f9427b26..7ae3007026 100644 --- a/third-party/realsense-file/rosbag/cpp_common/config.cmake +++ b/third-party/realsense-file/rosbag/cpp_common/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3...3.20.5) +cmake_minimum_required(VERSION 3.8) set(HEADER_FILES_CPP_COMMON ${CMAKE_CURRENT_LIST_DIR}/include/ros/cpp_common_decl.h diff --git a/third-party/realsense-file/rosbag/rosbag_storage/config.cmake b/third-party/realsense-file/rosbag/rosbag_storage/config.cmake index f5f9427b26..7ae3007026 100644 --- a/third-party/realsense-file/rosbag/rosbag_storage/config.cmake +++ b/third-party/realsense-file/rosbag/rosbag_storage/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3...3.20.5) +cmake_minimum_required(VERSION 3.8) set(HEADER_FILES_CPP_COMMON ${CMAKE_CURRENT_LIST_DIR}/include/ros/cpp_common_decl.h diff --git a/third-party/realsense-file/rosbag/roscpp_serialization/config.cmake b/third-party/realsense-file/rosbag/roscpp_serialization/config.cmake index ed41474352..548fa2e03e 100644 --- a/third-party/realsense-file/rosbag/roscpp_serialization/config.cmake +++ b/third-party/realsense-file/rosbag/roscpp_serialization/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3...3.20.5) +cmake_minimum_required(VERSION 3.8) set(HEADER_FILES_ROSCPP_SERIALIZATION ${CMAKE_CURRENT_LIST_DIR}/include/ros/roscpp_serialization_macros.h diff --git a/third-party/realsense-file/rosbag/roscpp_traits/config.cmake b/third-party/realsense-file/rosbag/roscpp_traits/config.cmake index 9068b11416..4db0de3659 100644 --- a/third-party/realsense-file/rosbag/roscpp_traits/config.cmake +++ b/third-party/realsense-file/rosbag/roscpp_traits/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3...3.20.5) +cmake_minimum_required(VERSION 3.8) set(HEADER_FILES_ROSCPP_TRAITS ${CMAKE_CURRENT_LIST_DIR}/include/ros/builtin_message_traits.h diff --git a/third-party/realsense-file/rosbag/roslz4/config.cmake b/third-party/realsense-file/rosbag/roslz4/config.cmake index 046e22f6ea..ca8a9e35fa 100644 --- a/third-party/realsense-file/rosbag/roslz4/config.cmake +++ b/third-party/realsense-file/rosbag/roslz4/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3...3.20.5) +cmake_minimum_required(VERSION 3.8) set(HEADER_FILES_ROSLZ4 ${CMAKE_CURRENT_LIST_DIR}/include/roslz4/lz4s.h diff --git a/third-party/realsense-file/rosbag/rostime/config.cmake b/third-party/realsense-file/rosbag/rostime/config.cmake index 431b2c79a2..69d14a3d3b 100644 --- a/third-party/realsense-file/rosbag/rostime/config.cmake +++ b/third-party/realsense-file/rosbag/rostime/config.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.3...3.20.5) +cmake_minimum_required(VERSION 3.8) set(HEADER_FILES_ROSTIME ${CMAKE_CURRENT_LIST_DIR}/include/ros/duration.h diff --git a/third-party/rsutils/py/CMakeLists.txt b/third-party/rsutils/py/CMakeLists.txt index 71002e5a90..faf9fa8e42 100644 --- a/third-party/rsutils/py/CMakeLists.txt +++ b/third-party/rsutils/py/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2022 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2022-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project( pyrsutils ) set( DEPENDENCIES rsutils ) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index d8ffd766b3..f82e58b174 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) # Save the command line compile commands in the build output set(CMAKE_EXPORT_COMPILE_COMMANDS 1) diff --git a/tools/benchmark/CMakeLists.txt b/tools/benchmark/CMakeLists.txt index 44999298de..0e43067f14 100644 --- a/tools/benchmark/CMakeLists.txt +++ b/tools/benchmark/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsBenchmark) diff --git a/tools/convert/CMakeLists.txt b/tools/convert/CMakeLists.txt index 789dfa7496..62e6f0d603 100644 --- a/tools/convert/CMakeLists.txt +++ b/tools/convert/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsConvert) set(RS_TARGET rs-convert) diff --git a/tools/data-collect/CMakeLists.txt b/tools/data-collect/CMakeLists.txt index bc12f4f3b0..87de7af805 100644 --- a/tools/data-collect/CMakeLists.txt +++ b/tools/data-collect/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsDataCollect) diff --git a/tools/dds/dds-adapter/CMakeLists.txt b/tools/dds/dds-adapter/CMakeLists.txt index 2db4748f70..0304939541 100644 --- a/tools/dds/dds-adapter/CMakeLists.txt +++ b/tools/dds/dds-adapter/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2023 Intel Corporation. All Rights Reserved. -cmake_minimum_required( VERSION 3.1.0 ) +# Copyright(c) 2023-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required( VERSION 3.8 ) project( rs-dds-adapter ) set(TOOL_FILES diff --git a/tools/depth-quality/CMakeLists.txt b/tools/depth-quality/CMakeLists.txt index 65fc00850c..82c9678d41 100644 --- a/tools/depth-quality/CMakeLists.txt +++ b/tools/depth-quality/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project( rs-depth-quality ) diff --git a/tools/embed/CMakeLists.txt b/tools/embed/CMakeLists.txt index 7fbdd59c3b..77b1b9b51c 100644 --- a/tools/embed/CMakeLists.txt +++ b/tools/embed/CMakeLists.txt @@ -1,7 +1,7 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2021 Intel Corporation. All Rights Reserved. +# Copyright(c) 2021-2024 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsEmbed) diff --git a/tools/enumerate-devices/CMakeLists.txt b/tools/enumerate-devices/CMakeLists.txt index 8cfceed0a9..d50946495a 100644 --- a/tools/enumerate-devices/CMakeLists.txt +++ b/tools/enumerate-devices/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesEnumerateDevices) diff --git a/tools/fw-logger/CMakeLists.txt b/tools/fw-logger/CMakeLists.txt index cf9ad43098..99666d7d11 100644 --- a/tools/fw-logger/CMakeLists.txt +++ b/tools/fw-logger/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsFirmwareLogger) diff --git a/tools/fw-update/CMakeLists.txt b/tools/fw-update/CMakeLists.txt index 56c4a3fd7e..801840138f 100644 --- a/tools/fw-update/CMakeLists.txt +++ b/tools/fw-update/CMakeLists.txt @@ -1,7 +1,7 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(rs-fw-update) diff --git a/tools/realsense-viewer/CMakeLists.txt b/tools/realsense-viewer/CMakeLists.txt index 4e6c1768e2..7add228b9c 100644 --- a/tools/realsense-viewer/CMakeLists.txt +++ b/tools/realsense-viewer/CMakeLists.txt @@ -1,6 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(realsense-viewer) diff --git a/tools/recorder/CMakeLists.txt b/tools/recorder/CMakeLists.txt index 94e5f7d3e9..104021410f 100644 --- a/tools/recorder/CMakeLists.txt +++ b/tools/recorder/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsRecorder) diff --git a/tools/rosbag-inspector/CMakeLists.txt b/tools/rosbag-inspector/CMakeLists.txt index 44907ca77f..4532b873e3 100644 --- a/tools/rosbag-inspector/CMakeLists.txt +++ b/tools/rosbag-inspector/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# ubuntu 16.04 LTS cmake version 3.5.1 -cmake_minimum_required(VERSION 2.8.3...3.20.5) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsRosbagInspector) diff --git a/tools/terminal/CMakeLists.txt b/tools/terminal/CMakeLists.txt index 535113afe7..90f5dd6ec8 100644 --- a/tools/terminal/CMakeLists.txt +++ b/tools/terminal/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2019 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2019-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseToolsTerminal) include_directories( diff --git a/unit-tests/CMakeLists.txt b/unit-tests/CMakeLists.txt index 42c7b6fe1a..f2df02e1e9 100644 --- a/unit-tests/CMakeLists.txt +++ b/unit-tests/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) diff --git a/wrappers/CMakeLists.txt b/wrappers/CMakeLists.txt index 4968f13a72..ccd13963c6 100644 --- a/wrappers/CMakeLists.txt +++ b/wrappers/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsenseWrappers) diff --git a/wrappers/android/examples/native_example/app/CMakeLists.txt b/wrappers/android/examples/native_example/app/CMakeLists.txt index 9a2b56aa48..fbc55d40da 100644 --- a/wrappers/android/examples/native_example/app/CMakeLists.txt +++ b/wrappers/android/examples/native_example/app/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.4.1) +cmake_minimum_required(VERSION 3.8) #################### librealsense dependencies begin #################### include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/main/cpp/include") diff --git a/wrappers/android/librealsense/CMakeLists.txt b/wrappers/android/librealsense/CMakeLists.txt index 187a5359c8..26d43156cb 100644 --- a/wrappers/android/librealsense/CMakeLists.txt +++ b/wrappers/android/librealsense/CMakeLists.txt @@ -2,7 +2,7 @@ # documentation: https://d.android.com/studio/projects/add-native-code.html # Sets the minimum version of CMake required to build the native library. -cmake_minimum_required(VERSION 3.6) +cmake_minimum_required(VERSION 3.8) include("../config.cmake") set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LRS_ANDROID_ROOT_DIR}/build/jniLibs/${ANDROID_ABI}) diff --git a/wrappers/dlib/CMakeLists.txt b/wrappers/dlib/CMakeLists.txt index 026c3c6bda..4063026713 100644 --- a/wrappers/dlib/CMakeLists.txt +++ b/wrappers/dlib/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsenseDlibSamples) diff --git a/wrappers/dlib/face/CMakeLists.txt b/wrappers/dlib/face/CMakeLists.txt index 3a91490dc2..9f7744b414 100644 --- a/wrappers/dlib/face/CMakeLists.txt +++ b/wrappers/dlib/face/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseDlibFaceExample) diff --git a/wrappers/matlab/CMakeLists.txt b/wrappers/matlab/CMakeLists.txt index 24db5115e1..27ff799ff5 100644 --- a/wrappers/matlab/CMakeLists.txt +++ b/wrappers/matlab/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsenseMatlabWrappers) diff --git a/wrappers/opencv/CMakeLists.txt b/wrappers/opencv/CMakeLists.txt index 3e2c85cd17..445b2c67ba 100644 --- a/wrappers/opencv/CMakeLists.txt +++ b/wrappers/opencv/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsenseCVExamples) diff --git a/wrappers/opencv/depth-filter/CMakeLists.txt b/wrappers/opencv/depth-filter/CMakeLists.txt index b9d07ab2a3..6b219284cb 100644 --- a/wrappers/opencv/depth-filter/CMakeLists.txt +++ b/wrappers/opencv/depth-filter/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseDepthFilterExample) diff --git a/wrappers/opencv/dnn/CMakeLists.txt b/wrappers/opencv/dnn/CMakeLists.txt index 98106b1b00..963e0ea03c 100644 --- a/wrappers/opencv/dnn/CMakeLists.txt +++ b/wrappers/opencv/dnn/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseDNNExample) diff --git a/wrappers/opencv/grabcuts/CMakeLists.txt b/wrappers/opencv/grabcuts/CMakeLists.txt index 508bdd74ca..be26abd26b 100644 --- a/wrappers/opencv/grabcuts/CMakeLists.txt +++ b/wrappers/opencv/grabcuts/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseGrabCutsExample) diff --git a/wrappers/opencv/imshow/CMakeLists.txt b/wrappers/opencv/imshow/CMakeLists.txt index d7c45df721..12db7078f8 100644 --- a/wrappers/opencv/imshow/CMakeLists.txt +++ b/wrappers/opencv/imshow/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseImShowExample) diff --git a/wrappers/opencv/kinfu/CMakeLists.txt b/wrappers/opencv/kinfu/CMakeLists.txt index 265a2b0c80..3dd652a958 100644 --- a/wrappers/opencv/kinfu/CMakeLists.txt +++ b/wrappers/opencv/kinfu/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseKinfuExample) diff --git a/wrappers/opencv/latency-tool/CMakeLists.txt b/wrappers/opencv/latency-tool/CMakeLists.txt index 636a6f9cb9..ee9d0af8ad 100644 --- a/wrappers/opencv/latency-tool/CMakeLists.txt +++ b/wrappers/opencv/latency-tool/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseLatencyToolExample) diff --git a/wrappers/opencv/rotate-pointcloud/CMakeLists.txt b/wrappers/opencv/rotate-pointcloud/CMakeLists.txt index 92f4454546..e512977e5a 100644 --- a/wrappers/opencv/rotate-pointcloud/CMakeLists.txt +++ b/wrappers/opencv/rotate-pointcloud/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +=cmake_minimum_required(VERSION 3.8) project(rs-rotate-pc) diff --git a/wrappers/openvino/CMakeLists.txt b/wrappers/openvino/CMakeLists.txt index f5a28b0ec5..785ea05439 100644 --- a/wrappers/openvino/CMakeLists.txt +++ b/wrappers/openvino/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsenseOpenVINOSamples) diff --git a/wrappers/openvino/dnn/CMakeLists.txt b/wrappers/openvino/dnn/CMakeLists.txt index 9022f64198..8c4b90ea95 100644 --- a/wrappers/openvino/dnn/CMakeLists.txt +++ b/wrappers/openvino/dnn/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseVinoDnnExample) diff --git a/wrappers/openvino/face/CMakeLists.txt b/wrappers/openvino/face/CMakeLists.txt index c621361399..ade09323e6 100644 --- a/wrappers/openvino/face/CMakeLists.txt +++ b/wrappers/openvino/face/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSenseVinoFaceExample) diff --git a/wrappers/pcl/CMakeLists.txt b/wrappers/pcl/CMakeLists.txt index 346343e343..f311eb0246 100644 --- a/wrappers/pcl/CMakeLists.txt +++ b/wrappers/pcl/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) if(NOT WIN32) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread") diff --git a/wrappers/pcl/pcl-color/CMakeLists.txt b/wrappers/pcl/pcl-color/CMakeLists.txt index f3ca438c89..9faea37631 100644 --- a/wrappers/pcl/pcl-color/CMakeLists.txt +++ b/wrappers/pcl/pcl-color/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSensePCLColorExample) diff --git a/wrappers/pcl/pcl/CMakeLists.txt b/wrappers/pcl/pcl/CMakeLists.txt index 10ca97ef9b..80af1cfd16 100644 --- a/wrappers/pcl/pcl/CMakeLists.txt +++ b/wrappers/pcl/pcl/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealSensePCLExample) diff --git a/wrappers/pointcloud/pointcloud-stitching/CMakeLists.txt b/wrappers/pointcloud/pointcloud-stitching/CMakeLists.txt index 7811caf794..a578252cbc 100644 --- a/wrappers/pointcloud/pointcloud-stitching/CMakeLists.txt +++ b/wrappers/pointcloud/pointcloud-stitching/CMakeLists.txt @@ -1,7 +1,6 @@ # License: Apache 2.0. See LICENSE file in root directory. -# Copyright(c) 2021 Intel Corporation. All Rights Reserved. -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +# Copyright(c) 2021-2024 Intel Corporation. All Rights Reserved. +cmake_minimum_required(VERSION 3.8) project(RealsenseExamplesPointcloudStitching) diff --git a/wrappers/python/CMakeLists.txt b/wrappers/python/CMakeLists.txt index fd9a3d34e5..d13525c02a 100644 --- a/wrappers/python/CMakeLists.txt +++ b/wrappers/python/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsensePythonWrappers) diff --git a/wrappers/python/docs/CMakeLists.txt b/wrappers/python/docs/CMakeLists.txt index b116174568..c505c7e54b 100644 --- a/wrappers/python/docs/CMakeLists.txt +++ b/wrappers/python/docs/CMakeLists.txt @@ -1,5 +1,4 @@ -# minimum required cmake version: 3.1.0 -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.8) project(RealsensePythonDocs)