aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormnml_ <daef@sourcemonk.com>2017-06-02 12:37:46 +0200
committerGitHub <noreply@github.com>2017-06-02 12:37:46 +0200
commit40e9cca0036f720de5e4e8a9027922be2e1e7b2a (patch)
tree1816d94dd89364aa446cd39c329a728712790f55
parent3ebcdd384b58ff5d5f92996a6eb2e9fed0be1710 (diff)
downloadvcpkg-40e9cca0036f720de5e4e8a9027922be2e1e7b2a.tar.gz
vcpkg-40e9cca0036f720de5e4e8a9027922be2e1e7b2a.zip
replace empty-include-dir-hack with new policy
As https://github.com/Microsoft/vcpkg/blob/master/CHANGELOG.md states 0.0.78 introduced a policy to allow an empty include directory So the workaround mentioned in https://github.com/Microsoft/vcpkg/pull/117 isn't needed anymore. I just replaced it with the line(+comment) from https://github.com/Microsoft/vcpkg/blob/master/ports/ecm/portfile.cmake#L28
-rw-r--r--ports/ragel/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/ragel/portfile.cmake b/ports/ragel/portfile.cmake
index bad1efaaf..00082e4bd 100644
--- a/ports/ragel/portfile.cmake
+++ b/ports/ragel/portfile.cmake
@@ -23,7 +23,8 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-file(WRITE ${CURRENT_PACKAGES_DIR}/include/ragel.txt)
+# Allow empty include directory
+set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/ragel)