From b8573427e18fa086daff23254936ac07b975e7fd Mon Sep 17 00:00:00 2001 From: Dan Wang Date: Mon, 4 Mar 2024 11:05:55 +0800 Subject: [PATCH] fix(cmake): increase the minimum required version of cmake to 3.24.0 (#1928) #1927 Since DOWNLOAD_EXTRACT_TIMESTAMP was introduced in version 3.24, the minimum required version of cmake should be increased from 3.11.0 to 3.24.0. The document of the website would also be updated. --- CMakeLists.txt | 2 +- thirdparty/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12c87dadd2..48a9da2457 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -cmake_minimum_required(VERSION 3.11.0) +cmake_minimum_required(VERSION 3.24.0) project(pegasus) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index fb628986a1..da917323c6 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -17,7 +17,7 @@ # under the License. ############################################################################## -cmake_minimum_required(VERSION 3.11.0) +cmake_minimum_required(VERSION 3.24.0) project(pegasus_thirdparties) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")