Skip to content

Commit fe70373

Browse files
committed
intel compiler: new options
1 parent c775b60 commit fe70373

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/compilers.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
2727
add_compile_options(
2828
$<IF:$<BOOL:${WIN32}>,/QxHost,-xHost>
2929
"$<$<COMPILE_LANGUAGE:Fortran>:-warn>"
30-
"$<$<COMPILE_LANGUAGE:C>:$<IF:$<BOOL:${WIN32}>,/W3,-w2>>"
31-
"$<$<COMPILE_LANGUAGE:CXX>:$<IF:$<BOOL:${WIN32}>,/W3,-w2>>"
30+
"$<$<COMPILE_LANGUAGE:C,CXX>:-Wall>"
3231
"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:Debug,RelWithDebInfo>>:-traceback;-check;-debug>"
3332
)
3433
endif()

0 commit comments

Comments
 (0)