Support the -pedantic flag.

This commit is contained in:
ArthurSonzogni
2020-02-11 21:44:55 +01:00
parent 5637fa3a93
commit a8fdfafe6a
33 changed files with 81 additions and 85 deletions

View File

@@ -76,7 +76,7 @@ foreach(lib screen dom component)
PRIVATE src
)
target_compile_features(${lib} PUBLIC cxx_std_17)
target_compile_options(${lib} PRIVATE -Wall -Werror -Wextra)
target_compile_options(${lib} PRIVATE -Wall -Werror -pedantic -Wextra)
endforeach()
if(FTXUI_ENABLE_INSTALL)