Merge topic 'pgi-ninja-fortran'

4087d0ae PGI: Add support for Fortran with the Ninja generator
This commit is contained in:
Brad King 2017-01-09 16:27:16 -05:00 committed by CMake Topic Stage
commit 8f9e0884d4

View File

@ -1,6 +1,9 @@
include(Compiler/PGI)
__compiler_pgi(Fortran)
set(CMAKE_Fortran_PREPROCESS_SOURCE
"<CMAKE_Fortran_COMPILER> -Mpreprocess <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-Mnofreeform")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-Mfreeform")