summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Modules/Compiler/PathScale-Fortran.cmake
blob: 891d93e3b53db3187fd73f6a9867776c79ed4ab4 (plain)
1
2
3
4
5
6
7
8
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")