proxmark3/client/deps/jansson.cmake

19 lines
530 B
CMake
Raw Normal View History

2020-04-18 20:19:43 +08:00
add_library(jansson STATIC
2020-04-16 16:57:53 +08:00
jansson/dump.c
jansson/error.c
jansson/hashtable.c
jansson/hashtable_seed.c
jansson/load.c
jansson/memory.c
jansson/pack_unpack.c
jansson/strbuffer.c
jansson/strconv.c
jansson/utf.c
jansson/path.c
jansson/value.c
)
target_compile_definitions(jansson PRIVATE HAVE_STDINT_H)
target_include_directories(jansson INTERFACE jansson)
2020-04-18 23:37:11 +08:00
target_compile_options(jansson PRIVATE -Wall -Werror -Wno-unused-function -O3)