mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 07:09:02 +08:00
0693b010a5
* Add TinyCBOR port * Avoid deprecated helpers * Resolve post-build check problems * Correct baseline (should have latest version, not lowest) * Use same version-semver * No support for older versions * Static lib only * Update commit hash * Add homepage * update hash * Oops indents are off Co-authored-by: Alison Wu <aliwu@microsoft.com>
21 lines
669 B
CMake
21 lines
669 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO intel/tinycbor
|
|
REF v0.6.0
|
|
SHA512 af1ed05c03d3aed56e35fdcaad3235992f96b5043b594c0246e600e4b1f085df78c5345beaac8758c2b5db2952ab83997019de5940857eecb81d84b6fb642093
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
# Remove duplicated include headers
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|