Skip to content

Commit

Permalink
Merge pull request #910 from scivision/cmake_min
Browse files Browse the repository at this point in the history
Fix build for CMake >= 3.27
  • Loading branch information
weslleyspereira authored Oct 12, 2023
2 parents ae2f14f + 0a52d71 commit 4174d8d
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 4174d8d

Please sign in to comment.