cmake: add cflags

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

View file

@ -17,3 +17,4 @@ add_library(jansson STATIC
target_compile_definitions(jansson PRIVATE HAVE_STDINT_H)
target_include_directories(jansson INTERFACE jansson)
target_compile_options(jansson PRIVATE -Wall -Werror -Wno-unused-function -O3)