pineapple-src/externals/vcpkg/ports/tinycbor/CMakeLists.txt

10 lines
302 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
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)