From 4eb858135ae144f298e7841929c5eedbf22ca721 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Mon, 12 May 2025 11:28:25 +0900 Subject: [PATCH] build: bump minimum required version of CMake to 3.5 CMake 4 drops support of <3.5 https://cmake.org/cmake/help/latest/release/4.0.html#id14 --- CMakeLists.txt | 2 +- utils/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e267fab..bb9e864 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # Copyright(C) 2019 Advanced Micro Devices, Inc. All rights reserved. -cmake_minimum_required(VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project(aomp-extras) include(GNUInstallDirs) if(${ENABLE_DEVEL_PACKAGE}) diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index e0246d6..5c692e0 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -12,7 +12,7 @@ # ##===----------------------------------------------------------------------===## -cmake_minimum_required(VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") project(aomputils) endif()