File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,22 +92,6 @@ configure_file(
9292include (PreventInSourceBuilds )
9393include (PreventInBuildInstalls )
9494
95- # # Following nomenclature from here:
96- # # https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html
97- # if (CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
98- # set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -frecursive")
99- # # elseif(CMAKE_Fortran_COMPILER_ID MATCHES "G95")
100- # # set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -frecursive")
101- # elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
102- # set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -recursive")
103- # elseif(CMAKE_Fortran_COMPILER_ID MATCHES "IntelLLVM")
104- # set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -recursive")
105- # elseif(CMAKE_Fortran_COMPILER_ID MATCHES "NVIDIA")
106- # set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Mrecursive")
107- # elseif(CMAKE_Fortran_COMPILER_ID MATCHES "PGI")
108- # set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Mrecursive")
109- # endif()
110-
11195# Check if recursive flag exists
11296include (CheckFortranCompilerFlag )
11397check_fortran_compiler_flag ("-recursive" _recursiveFlag )
You can’t perform that action at this time.
0 commit comments