summaryrefslogtreecommitdiffstats
path: root/Tests/CheckFortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-03 13:18:14 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-03 18:18:16 (GMT)
commit9e3b559b6a30b8b5734849fc21a9cea1b0e2874f (patch)
treeedc4eca1f905ba8fffc073e5e68eac02cfc25e55 /Tests/CheckFortran.cmake
parentf4aa34daa724cf80dd407d14cd5a091b6e390c62 (diff)
downloadCMake-9e3b559b6a30b8b5734849fc21a9cea1b0e2874f.zip
CMake-9e3b559b6a30b8b5734849fc21a9cea1b0e2874f.tar.gz
CMake-9e3b559b6a30b8b5734849fc21a9cea1b0e2874f.tar.bz2
Tests: Update cmake_minimum_required versions to 3.10
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 850406b..0dfeb5a 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 3.5)
+ "cmake_minimum_required(VERSION 3.10)
project(CheckFortran Fortran)
file(WRITE \"\${CMAKE_CURRENT_BINARY_DIR}/result.cmake\"
\"set(CMAKE_Fortran_COMPILER \\\"\${CMAKE_Fortran_COMPILER}\\\")\\n\"