vcpkg/ports/dtl/portfile.cmake

16 lines
514 B
CMake
Raw Normal View History

2019-03-06 02:41:52 +08:00
#header-only library
include(CMakePackageConfigHelpers)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cubicdaiya/dtl
2024-09-18 06:35:33 +08:00
REF "v${VERSION}"
SHA512 53a448ce499d96c5030ff787db68dd4cb52ee9686453da81aeb5c143e21d4a10fcc4c9b88ebf86d71824cb919d6e4ebf39df52b74bd9333f411935e5f23bfa86
2019-03-06 02:41:52 +08:00
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/${PORT}"
DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION
"${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)