Release v4.18994 - Backdoor
[RRG-proxmark3.git] / client / deps / tinycbor.cmake
blobc74618149cb87268243be4299904674327524b98
1 add_library(pm3rrg_rdv4_tinycbor STATIC
2         tinycbor/cborencoder.c
3         tinycbor/cborencoder_close_container_checked.c
4         tinycbor/cborerrorstrings.c
5         tinycbor/cborparser.c
6         tinycbor/cborparser_dup_string.c
7         tinycbor/cborpretty.c
8         tinycbor/cbortojson.c
9         tinycbor/cborvalidation.c
10         )
12 target_include_directories(pm3rrg_rdv4_tinycbor INTERFACE tinycbor)
13 # Strange errors on Mingw when compiling with -O3
14 target_compile_options(pm3rrg_rdv4_tinycbor PRIVATE -Wall -O2)
15 set_property(TARGET pm3rrg_rdv4_tinycbor PROPERTY POSITION_INDEPENDENT_CODE ON)