WARNINGS_ARE_ERRORS shouldn't produce a warning
it's what we use at work
This commit is contained in:
parent
9d5e544695
commit
7b14e0cb81
|
@ -862,7 +862,7 @@ endif()
|
||||||
string(REPLACE ";" " " WARNING_FLAGS_STRING "${WARNING_FLAGS}")
|
string(REPLACE ";" " " WARNING_FLAGS_STRING "${WARNING_FLAGS}")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS_STRING}")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS_STRING}")
|
||||||
if (WARNINGS_ARE_ERRORS)
|
if (WARNINGS_ARE_ERRORS)
|
||||||
message(WARNING
|
message(STATUS
|
||||||
"Treating all warnings in furnace's C++ code as errors! "
|
"Treating all warnings in furnace's C++ code as errors! "
|
||||||
"Please report any errors you encounter on the bug tracker."
|
"Please report any errors you encounter on the bug tracker."
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue