Fixed cmake errors
This commit is contained in:
parent
74b3920eef
commit
f30ce402c1
@ -54,9 +54,9 @@ if("${FORT_COMPILER}" STREQUAL "MSVC")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W4")
|
||||
else()
|
||||
set(ADDITIONAL_WARNINGS "\
|
||||
-Wall
|
||||
-Wextra
|
||||
-Werror
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Werror \
|
||||
-Wdouble-promotion \
|
||||
-Wshadow \
|
||||
-Wformat=2 \
|
||||
@ -69,7 +69,7 @@ else()
|
||||
")
|
||||
if("${FORT_COMPILER}" STREQUAL "GNU")
|
||||
set(ADDITIONAL_WARNINGS "${ADDITIONAL_WARNINGS} \
|
||||
-Wtrampolines
|
||||
-Wtrampolines \
|
||||
-Wlogical-op")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user