aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-04-20 18:43:52 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-04-26 18:17:22 -0700
commit0d9158961fede526cee979e4ae29e8b521c7726b (patch)
treee3ad266a2eb92d3398d51342761cc2d64390b5d8
parent8b941c56add1a3d0acc7d860c82b8093d73a482d (diff)
downloadvcpkg-0d9158961fede526cee979e4ae29e8b521c7726b.tar.gz
vcpkg-0d9158961fede526cee979e4ae29e8b521c7726b.zip
[libqrencode] Use SOURCE_PATH
-rw-r--r--ports/libqrencode/CONTROL2
-rw-r--r--ports/libqrencode/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/libqrencode/CONTROL b/ports/libqrencode/CONTROL
index 0e96c99a9..056d6a92b 100644
--- a/ports/libqrencode/CONTROL
+++ b/ports/libqrencode/CONTROL
@@ -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
diff --git a/ports/libqrencode/portfile.cmake b/ports/libqrencode/portfile.cmake
index ff0c2302b..72af0103e 100644
--- a/ports/libqrencode/portfile.cmake
+++ b/ports/libqrencode/portfile.cmake
@@ -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()