summaryrefslogtreecommitdiff
path: root/Tests/CheckFortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-10 09:50:14 -0500
committerBrad King <brad.king@kitware.com>2023-02-10 09:51:35 -0500
commit589e6fdcd1fbbec2a55633536b13a21be1f1d729 (patch)
treea735feb0edd70621c170cdd5e62947d9de2aa27f /Tests/CheckFortran.cmake
parent3092b14ed0c6f468f1c7499b987232a6528e5a59 (diff)
downloadcmake-589e6fdcd1fbbec2a55633536b13a21be1f1d729.tar.gz
Tests: Update cmake_minimum_required versions in a few tests
Diffstat (limited to 'Tests/CheckFortran.cmake')
-rw-r--r--Tests/CheckFortran.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CheckFortran.cmake b/Tests/CheckFortran.cmake
index 1e943a1d1c..850406bb0f 100644
--- a/Tests/CheckFortran.cmake
+++ b/Tests/CheckFortran.cmake
@@ -7,7 +7,7 @@ if(NOT DEFINED CMAKE_Fortran_COMPILER)
message(STATUS ${_desc})
file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CheckFortran)
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CheckFortran/CMakeLists.txt"
- "cmake_minimum_required(VERSION 2.8.12)
+ "cmake_minimum_required(VERSION 3.5)
project(CheckFortran Fortran)
file(WRITE \"\${CMAKE_CURRENT_BINARY_DIR}/result.cmake\"
\"set(CMAKE_Fortran_COMPILER \\\"\${CMAKE_Fortran_COMPILER}\\\")\\n\"