Skip to content

Commit 7eeaa36

Browse files
committed
add warnings
1 parent 3ccd532 commit 7eeaa36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/compilers.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ add_compile_options(-Wall -Wextra
3030
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
3131
add_compile_options(
3232
"$<$<COMPILE_LANGUAGE:Fortran>:-warn>"
33-
"$<$<COMPILE_LANGUAGE:C,CXX>:-Wall>"
33+
"$<$<COMPILE_LANGUAGE:C,CXX>:-Wall;-Wextra>"
3434
"$<$<AND:$<COMPILE_LANGUAGE:Fortran>,$<CONFIG:Debug,RelWithDebInfo>>:-traceback;-check;-debug>"
3535
)
3636
endif()

0 commit comments

Comments
 (0)