vcpkg/ports/libguarded/portfile.cmake

12 lines
488 B
CMake
Raw Normal View History

2019-08-28 05:26:31 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO copperspice/cs_libguarded
2019-08-28 05:26:31 +08:00
REF 1f159aa866a50f5d2952de41d8a99821b8ec37df
2020-01-09 14:00:26 +08:00
SHA512 91380262e65ec7b8990c500c60b8d141960be24b69e01a4661c2e8fbfdb8e315c9a4509c2c65a74bc60a8fe690d6dbc8f2b39757d13da5068c95283a19d4c6c4
2019-08-28 05:26:31 +08:00
HEAD_REF master
)
File(COPY ${SOURCE_PATH}/src/libguarded DESTINATION ${CURRENT_PACKAGES_DIR}/include)
2020-01-09 14:00:26 +08:00
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)