[libqrencode] Use SOURCE_PATH

This commit is contained in:
Alexander Karatarakis 2018-04-20 18:43:52 -07:00
parent 8b941c56ad
commit 0d9158961f
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Source: libqrencode
Version: 4.0.0-1
Version: 4.0.0-2
Build-Depends: libpng, libiconv
Description: libqrencode - a fast and compact QR Code encoding library

View File

@ -39,7 +39,7 @@ if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/lib/qrencoded.dll)
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(COPY ${CURRENT_BUILDTREES_DIR}/src/libqrencode-4.0.0/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libqrencode)
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libqrencode)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libqrencode/COPYING ${CURRENT_PACKAGES_DIR}/share/libqrencode/copyright)
vcpkg_copy_pdbs()