vcpkg/ports/tinycbor/CMakeLists.txt
Thomas1664 7fb979c4c1
[tinycbor] Fix file conflicts with libcbor (#24056)
* [tinycbor] Fix file conflicts with libcbor

* version

* license

* version
2022-04-10 16:13:06 -07:00

10 lines
302 B
CMake

cmake_minimum_required(VERSION 3.20)
project(tinycbor C)
file(GLOB sources src/cbor*.c)
list(FILTER sources EXCLUDE REGEX "cbortojson.c$")
add_library(tinycbor ${sources})
install(TARGETS tinycbor)
install(FILES src/cbor.h src/cborjson.h src/tinycbor-version.h DESTINATION include/tinycbor)