diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-20 14:09:02 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-20 14:09:02 -0700 |
| commit | 64ae9efffa71468835bcf9ee5b8c2026b86774b0 (patch) | |
| tree | 98bb814dd9fd70dac0fdf32ab80be1929301444e | |
| parent | 6dfc813163ba1e9a2e2a4ed237127efd30880881 (diff) | |
| download | vcpkg-64ae9efffa71468835bcf9ee5b8c2026b86774b0.tar.gz vcpkg-64ae9efffa71468835bcf9ee5b8c2026b86774b0.zip | |
[boost-di] Use vcpkg_download_distfile
| -rw-r--r-- | ports/boost-di/portfile.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ports/boost-di/portfile.cmake b/ports/boost-di/portfile.cmake index e09c813c2..83ea6afe9 100644 --- a/ports/boost-di/portfile.cmake +++ b/ports/boost-di/portfile.cmake @@ -14,4 +14,9 @@ file(INSTALL ${SOURCE_PATH}/include/boost # boost-di license does not exist in source folder. # it shares the boost license. -file(DOWNLOAD http://www.boost.org/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/boost-di/copyright)
\ No newline at end of file +vcpkg_download_distfile(LICENSE + URLS http://www.boost.org/LICENSE_1_0.txt + FILENAME "boost-di-copyright" + SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 +) +file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/boost-di/copyright)
\ No newline at end of file |
