aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-07 15:38:17 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-07 15:38:17 -0800
commita73feb7c99c62bc97a53e8497c41f1854e524108 (patch)
tree4c230f0143654772d154deb226ae584551eea2ea
parentdea170b46970171a104551d2d6512dee1469646b (diff)
downloadvcpkg-a73feb7c99c62bc97a53e8497c41f1854e524108.tar.gz
vcpkg-a73feb7c99c62bc97a53e8497c41f1854e524108.zip
[ragel] Use SOURCE_PATH when copying license
-rw-r--r--ports/ragel/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/ragel/portfile.cmake b/ports/ragel/portfile.cmake
index 8568f6bac..c240fdefd 100644
--- a/ports/ragel/portfile.cmake
+++ b/ports/ragel/portfile.cmake
@@ -36,5 +36,5 @@ vcpkg_install_cmake()
file(WRITE ${CURRENT_PACKAGES_DIR}/include/ragel.txt)
# Handle copyright
-file(COPY ${CURRENT_BUILDTREES_DIR}/src/ragel-6.9/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/ragel)
+file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/ragel)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/ragel/COPYING ${CURRENT_PACKAGES_DIR}/share/ragel/copyright)