mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 00:39:00 +08:00
7fb979c4c1
* [tinycbor] Fix file conflicts with libcbor * version * license * version
10 lines
302 B
CMake
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)
|