Skip to content

Commit

Permalink
LAPACK CMakeLists.txt was using features from CMake 3.6 already
Browse files Browse the repository at this point in the history
CMake 3.27 warns for cmake_minimum_required < 3.5
  • Loading branch information
scivision committed Oct 12, 2023
1 parent ae2f14f commit 0a52d71
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.6)

project(LAPACK Fortran C)

Expand Down
2 changes: 1 addition & 1 deletion INSTALL/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/mangling/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
4 changes: 1 addition & 3 deletions lapack_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
###################################################################
Expand Down Expand Up @@ -249,5 +249,3 @@ ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
message(" Submit")
ctest_submit(RETURN_VALUE res)
message(" All done")


0 comments on commit 0a52d71

Please sign in to comment.