From f9ce38da3f02156604372dd124d07c399811c802 Mon Sep 17 00:00:00 2001 From: AlexandreSinger Date: Fri, 15 Nov 2024 21:53:49 -0500 Subject: [PATCH] [CMake] Upgrade Minimum Version to 3.10 The CI currently always runs on the latest version of CMake. I am not sure why this is, its not the best practice, but CMake is a fairly stable application so it should be fine. CMake is deprecating version 3.9, and a few CMake files require the minimum version to be 3.9 or larger. Changed these files to be 3.10 or later. --- libs/EXTERNAL/libezgl/CMakeLists.txt | 2 +- libs/EXTERNAL/libezgl/examples/basic-application/CMakeLists.txt | 2 +- utils/route_diag/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/EXTERNAL/libezgl/CMakeLists.txt b/libs/EXTERNAL/libezgl/CMakeLists.txt index 6ab3345d371..d63d2cca64c 100644 --- a/libs/EXTERNAL/libezgl/CMakeLists.txt +++ b/libs/EXTERNAL/libezgl/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9 FATAL_ERROR) +cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # create the project project( diff --git a/libs/EXTERNAL/libezgl/examples/basic-application/CMakeLists.txt b/libs/EXTERNAL/libezgl/examples/basic-application/CMakeLists.txt index 42d1c0e95a5..a6308d9a42f 100644 --- a/libs/EXTERNAL/libezgl/examples/basic-application/CMakeLists.txt +++ b/libs/EXTERNAL/libezgl/examples/basic-application/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9 FATAL_ERROR) +cmake_minimum_required(VERSION 3.10 FATAL_ERROR) project( basic-application diff --git a/utils/route_diag/CMakeLists.txt b/utils/route_diag/CMakeLists.txt index c3ad2eee501..809785c939a 100644 --- a/utils/route_diag/CMakeLists.txt +++ b/utils/route_diag/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -cmake_policy(VERSION 3.9) +cmake_policy(VERSION 3.10) project("route_diag")