diff options
Diffstat (limited to 'share/cmake-3.18/Modules/Compiler/PathScale-Fortran.cmake')
-rw-r--r-- | share/cmake-3.18/Modules/Compiler/PathScale-Fortran.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/cmake-3.18/Modules/Compiler/PathScale-Fortran.cmake b/share/cmake-3.18/Modules/Compiler/PathScale-Fortran.cmake new file mode 100644 index 0000000..891d93e --- /dev/null +++ b/share/cmake-3.18/Modules/Compiler/PathScale-Fortran.cmake @@ -0,0 +1,9 @@ +include(Compiler/PathScale) +__compiler_pathscale(Fortran) + +set(CMAKE_Fortran_MODDIR_FLAG "-module ") +set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixedform") +set(CMAKE_Fortran_FORMAT_FREE_FLAG "-freeform") + +set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_ON "-cpp") +set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_OFF "-nocpp") |