Skip to content
Snippets Groups Projects
Commit 1fd14430 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Add Nag compiler option

parent 23f6cbac
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
elseif(CMAKE_Fortran_COMPILER_ID MATCHES NAG)
string(APPEND CMAKE_Fortran_FLAGS " -f2003")
string(APPEND CMAKE_Fortran_FLAGS_DEBUG " -C=all -gline -nan -strict95")
string(APPEND CMAKE_Fortran_FLAGS_DEBUG " -C=all -g90 -gline -nan -strict95")
# -C=undefined is not binary compatible with Fortran code compiled
# without that option, and is not compatible with calling C code
# via a BIND(C) interface.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment