We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 797f59f + 56e15d8 commit 528dc73Copy full SHA for 528dc73
CMakeLists.txt
@@ -35,7 +35,7 @@ endif()
35
# --- compiler feature checks
36
include(CheckFortranSourceCompiles)
37
include(CheckFortranSourceRuns)
38
-check_fortran_source_compiles("error stop i; end" f18errorstop SRC_EXT f90)
+check_fortran_source_runs("i=0; error stop i; end" f18errorstop SRC_EXT f90)
39
check_fortran_source_compiles("real, allocatable :: array(:, :, :, :, :, :, :, :, :, :); end" f03rank SRC_EXT f90)
40
check_fortran_source_runs("use, intrinsic :: iso_fortran_env, only : real128; real(real128) :: x; x = x+1; end" f03real128)
41
0 commit comments