diff options
Diffstat (limited to 'ports/rapidjson')
| -rw-r--r-- | ports/rapidjson/portfile.cmake | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ports/rapidjson/portfile.cmake b/ports/rapidjson/portfile.cmake index 80dc14f5d..1a44e592b 100644 --- a/ports/rapidjson/portfile.cmake +++ b/ports/rapidjson/portfile.cmake @@ -1,12 +1,13 @@ #header-only library include(vcpkg_common_functions) -SET(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/rapidjson-1.1.0) -vcpkg_download_distfile(ARCHIVE - URLS "https://github.com/miloyip/rapidjson/archive/v1.1.0.zip" - FILENAME "rapidjson-v1.1.0.zip" - SHA512 4ddbf6dc5d943eb971e7a62910dd78d1cc5cc3016066a443f351d4276d2be3375ed97796e672c2aecd6990f0b332826f8c8ddc7d367193d7b82f0037f4e4012c + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Tencent/rapidjson + REF v1.1.0 + SHA512 aaa + HEAD_REF master ) -vcpkg_extract_source_archive(${ARCHIVE}) # Put the licence file where vcpkg expects it file(COPY ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/rapidjson) |
