autocmake/compilers/PGI.Fortran.cmake
Radovan Bast 694641a74b rename
2015-05-22 15:57:23 +02:00

6 lines
187 B
CMake

if(CMAKE_Fortran_COMPILER_ID MATCHES PGI)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS}")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
set(CMAKE_Fortran_FLAGS_DEBUG "-g")
endif()