FCFLAGS overrules other flags
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
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")
|
||||
if(NOT DEFINED ENV{FCFLAGS})
|
||||
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()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user