From a78da9dca729dd76371f640ce6b6c167f06c4983 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 24 Feb 2022 11:25:21 +0100 Subject: [PATCH] older gfortran does not support %re and %im for complex numbers --- cmake/Compiler-GNU.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Compiler-GNU.cmake b/cmake/Compiler-GNU.cmake index c204d1af2..164f115a0 100644 --- a/cmake/Compiler-GNU.cmake +++ b/cmake/Compiler-GNU.cmake @@ -1,7 +1,7 @@ ################################################################################################### # GNU Compiler ################################################################################################### -if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8.0) +if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 9.0) message (FATAL_ERROR "GCC Compiler version: ${CMAKE_Fortran_COMPILER_VERSION} not supported") endif ()