vcpkg/ports/nanorange/portfile.cmake

12 lines
525 B
CMake
Raw Permalink Normal View History

2018-06-08 08:09:02 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tcbrindle/NanoRange
REF bf32251d65673fe170d602777c087786c529ead8
SHA512 74dc8497fd20f56de39e54a104007840450466648f7b216f83265294e24582b486392ad6bf0cc85ca9877655640f08f833bc5d82ebee991b8a57d4fa44f0934f
2018-06-08 08:09:02 +08:00
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}" FILES_MATCHING PATTERN "*.hpp")
2018-06-08 08:09:02 +08:00
file(INSTALL "${SOURCE_PATH}/LICENSE_1_0.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)