From 0a52d71f09d7c5042909e7c15a7952147b1feb28 Mon Sep 17 00:00:00 2001 From: scivision Date: Sun, 17 Sep 2023 23:39:27 -0400 Subject: [PATCH] LAPACK CMakeLists.txt was using features from CMake 3.6 already CMake 3.27 warns for cmake_minimum_required < 3.5 --- CMakeLists.txt | 2 +- INSTALL/CMakeLists.txt | 2 +- LAPACKE/mangling/CMakeLists.txt | 2 +- lapack_build.cmake | 4 +--- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b281d6045..30b9c06b45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.6) project(LAPACK Fortran C) diff --git a/INSTALL/CMakeLists.txt b/INSTALL/CMakeLists.txt index 7a693f686e..51fe01f1e2 100644 --- a/INSTALL/CMakeLists.txt +++ b/INSTALL/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.6) project(TIMING Fortran) add_executable(secondtst_NONE second_NONE.f secondtst.f) add_executable(secondtst_EXT_ETIME second_EXT_ETIME.f secondtst.f) diff --git a/LAPACKE/mangling/CMakeLists.txt b/LAPACKE/mangling/CMakeLists.txt index 55986c16d5..1b6b308e07 100644 --- a/LAPACKE/mangling/CMakeLists.txt +++ b/LAPACKE/mangling/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.6) project(MANGLING C Fortran) add_executable(xintface Fintface.f Cintface.c) diff --git a/lapack_build.cmake b/lapack_build.cmake index 0c0b8733fc..83f812460e 100644 --- a/lapack_build.cmake +++ b/lapack_build.cmake @@ -4,7 +4,7 @@ ## HINTS: ctest -Ddashboard_model=Nightly -S $(pwd)/lapack/lapack_build.cmake ## -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.6) ################################################################### # The values in this section must always be provided ################################################################### @@ -249,5 +249,3 @@ ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) message(" Submit") ctest_submit(RETURN_VALUE res) message(" All done") - -