Add -Wextra

This commit is contained in:
ArthurSonzogni
2019-06-30 23:59:27 +02:00
parent a87e70c96e
commit 32871fcc6b
3 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ foreach(lib screen dom component)
PRIVATE src
)
target_compile_features(${lib} PUBLIC cxx_std_17)
target_compile_options(${lib} PRIVATE -Wall)
target_compile_options(${lib} PRIVATE -Wall -Werror -Wextra)
endforeach()
include(GNUInstallDirs)