We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c775b60 commit fe70373Copy full SHA for fe70373
cmake/compilers.cmake
@@ -27,8 +27,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
27
add_compile_options(
28
$<IF:$<BOOL:${WIN32}>,/QxHost,-xHost>
29
"$<$<COMPILE_LANGUAGE:Fortran>:-warn>"
30
-"$<$<COMPILE_LANGUAGE:C>:$<IF:$<BOOL:${WIN32}>,/W3,-w2>>"
31
-"$<$<COMPILE_LANGUAGE:CXX>:$<IF:$<BOOL:${WIN32}>,/W3,-w2>>"
+"$<$<COMPILE_LANGUAGE:C,CXX>:-Wall>"
32
"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:Debug,RelWithDebInfo>>:-traceback;-check;-debug>"
33
)
34
endif()
0 commit comments