2009-12-04 18:21:57 +03:00
|
|
|
include(Compiler/PGI)
|
|
|
|
__compiler_pgi(Fortran)
|
|
|
|
|
2011-08-31 18:24:43 +04:00
|
|
|
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-Mnofreeform")
|
|
|
|
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-Mfreeform")
|
|
|
|
|
2016-07-05 20:35:13 +03:00
|
|
|
string(APPEND CMAKE_Fortran_FLAGS_INIT " -Mpreprocess -Kieee")
|
|
|
|
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -Mbounds")
|
2009-12-04 18:21:57 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_Fortran_MODDIR_FLAG "-module ")
|