Skip to content

Commit

Permalink
CMake: Bump minimum version to 3.2
Browse files Browse the repository at this point in the history
Newer cmake issues a warning when required version is < 3.
Version 3.2 should be old enough (eg ubuntu 16.04 has version 3.5).
  • Loading branch information
jschueller committed Jan 8, 2021
1 parent adbc021 commit 8f004b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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 2.8.12)
cmake_minimum_required(VERSION 3.2)

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 2.8.7)
cmake_minimum_required(VERSION 3.2)
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 2.8.7)
cmake_minimum_required(VERSION 3.2)
project(MANGLING C Fortran)

add_executable(xintface Fintface.f Cintface.c)
2 changes: 1 addition & 1 deletion 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 2.8.10)
cmake_minimum_required(VERSION 3.2)
###################################################################
# The values in this section must always be provided
###################################################################
Expand Down

0 comments on commit 8f004b3

Please sign in to comment.