[magic-get] Fix improper direct reference to the "downloads" directory which fails when the downloads directory has been relocated. (#11581)

This commit is contained in:
Billy O'Neal 2020-05-26 20:59:38 -07:00 committed by GitHub
parent a5758c97d0
commit cb538ed22f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -1,4 +1,4 @@
Source: magic-get Source: magic-get
Version: 2019-09-02 Version: 2019-09-02-1
Homepage: https://github.com/apolukhin/magic_get Homepage: https://github.com/apolukhin/magic_get
Description: This C++14 library is meant for accessing structure elements by index and providing other std::tuple like methods for user defined types without any macro or boilerplate code. Description: This C++14 library is meant for accessing structure elements by index and providing other std::tuple like methods for user defined types without any macro or boilerplate code.

View File

@ -1,5 +1,3 @@
include(vcpkg_common_functions)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO apolukhin/magic_get REPO apolukhin/magic_get
@ -18,4 +16,4 @@ file(COPY ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
# Handle copyright # Handle copyright
# On Homepage README.md, License Distributed under the Boost Software License, Version 1.0. https://www.boost.org/LICENSE_1_0.txt # 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/boost_license_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) file(INSTALL ${OCV_DOWNLOAD} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)