Skip to content

Commit

Permalink
fix8031issue-Change download license file name
Browse files Browse the repository at this point in the history
Signed-off-by: AlvinZhangH <260137639@qq.com>
  • Loading branch information
AlvinZhangH committed Sep 9, 2019
1 parent fa4a41b commit 7610d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/magic-get/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ vcpkg_from_github(

vcpkg_download_distfile(OCV_DOWNLOAD
URLS "https://www.boost.org/LICENSE_1_0.txt"
FILENAME "LICENSE_1_0.txt"
FILENAME "boost_license_1_0.txt"
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
)

file(COPY ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})

# Handle copyright
# On Homepage README.md, License Distributed under the Boost Software License, Version 1.0. https://www.boost.org/LICENSE_1_0.txt
file(INSTALL ${VCPKG_ROOT_DIR}/downloads/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL ${VCPKG_ROOT_DIR}/downloads/boost_license_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

0 comments on commit 7610d6a

Please sign in to comment.