Skip to content

Commit

Permalink
[boost-di] Use vcpkg_download_distfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Oct 20, 2016
1 parent 6dfc813 commit 64ae9ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ports/boost-di/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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)

0 comments on commit 64ae9ef

Please sign in to comment.