This commit is contained in:
Alexey Milovidov 2020-01-10 19:36:36 +03:00
parent 61878d9f49
commit 6dd0a19879

View File

@ -10,9 +10,9 @@ macro (add_warning flag)
else ()
message (WARNING "Flag -W${flag} is unsupported")
endif ()
endmacro (add_warning)
endmacro ()
# Try to add -Wno flag if compiler supports it
macro (no_warning flag)
add_warning(no-${flag})
endmacro (add_warning)
endmacro ()