WARNINGS_ARE_ERRORS shouldn't produce a warning

it's what we use at work
This commit is contained in:
tildearrow 2023-07-05 19:41:31 -05:00
parent 9d5e544695
commit 7b14e0cb81

View file

@ -862,7 +862,7 @@ endif()
string(REPLACE ";" " " WARNING_FLAGS_STRING "${WARNING_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS_STRING}")
if (WARNINGS_ARE_ERRORS)
message(WARNING
message(STATUS
"Treating all warnings in furnace's C++ code as errors! "
"Please report any errors you encounter on the bug tracker."
)