autocmake/compiler_flags/Intel.Fortran.cmake
2015-05-22 14:34:24 +02:00

6 lines
228 B
CMake

if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -w -assume byterecl")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -ip")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -traceback")
endif()