Add cmake support

This commit is contained in:
Bjoern Kerler 2020-04-16 10:57:53 +02:00 committed by Philippe Teuwen
commit 6b1a8b8390
11 changed files with 908 additions and 0 deletions

18
client/deps/jansson.cmake Normal file
View file

@ -0,0 +1,18 @@
set_property(SOURCE PROPERTY C_STANDARD 99)
add_definitions(-DHAVE_STDINT_H)
include_directories(jansson)
add_library(jansson
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
)