Commit c860964a authored by Alex Converse's avatar Alex Converse
Browse files

cmake: Add -Wundef for C sources

It was added to configure in ce32f705

Change-Id: I67a4155861d5c012dc18702b3d4b9abe8e0e342b
parent 321357ee
......@@ -143,6 +143,9 @@ else ()
# Add -Wshadow only for C files to avoid massive gtest warning spam.
add_c_flag_if_supported("-Wshadow")
# Add -Wundef only for C files to avoid massive gtest warning spam.
add_c_flag_if_supported("-Wundef")
if (ENABLE_WERROR)
add_compiler_flag_if_supported("-Werror")
endif ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment