vcpkg/ports/tinydir/portfile.cmake

10 lines
452 B
CMake
Raw Normal View History

2018-02-09 16:25:52 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cxong/tinydir
2024-03-30 08:22:21 +08:00
REF "${VERSION}"
SHA512 6153bdded49e246a39fb8809749b9d44a67a52a494f5840730905dc83485afadea4c727df1b9e9d308d83c2a7d0277267df7758c4bf6c6d256647d3686cbead8
2018-02-09 16:25:52 +08:00
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/tinydir.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/tinydir" RENAME copyright)