summaryrefslogtreecommitdiff
path: root/Tests/CheckFortran.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2020-12-22 13:07:48 -0700
committerBrad King <brad.king@kitware.com>2021-03-31 09:14:38 -0400
commita55feff69c7967d56e0935d841cf1ea2c980a43a (patch)
tree4282b5a57c3a20aadc19e0d6a649b53c51ac6f65 /Tests/CheckFortran.cmake
parent3c867cff4a98bb198211e3d9f8494fbb478a29e4 (diff)
downloadcmake-a55feff69c7967d56e0935d841cf1ea2c980a43a.tar.gz
Tests: Update for the Fujitsu compiler
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 33e1bfbbb0..36293f51ce 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.4)
+ "cmake_minimum_required(VERSION 2.8.12)
project(CheckFortran Fortran)
file(WRITE \"\${CMAKE_CURRENT_BINARY_DIR}/result.cmake\"
\"set(CMAKE_Fortran_COMPILER \\\"\${CMAKE_Fortran_COMPILER}\\\")\\n\"