cmake: add cflags

This commit is contained in:
Philippe Teuwen
2020-04-18 17:37:11 +02:00
parent dc6b751ea3
commit f9857a8b0c
9 changed files with 15 additions and 4 deletions

View File

@@ -11,3 +11,4 @@ add_library(z STATIC
)
target_compile_definitions(z PRIVATE Z_SOLO NO_GZIP ZLIB_PM3_TUNED)
target_compile_options(z PRIVATE -Wall -Werror -O3)