aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2017-06-05 13:49:46 -0700
committerGitHub <noreply@github.com>2017-06-05 13:49:46 -0700
commiteb8819dbf4232a4dde749a72756d0bd935a83f7e (patch)
tree4f77f33df763b671568b4aca158d262b5e5a2bc4
parente573ed00a198ea609de095243ede3b40a8e79421 (diff)
parent40e9cca0036f720de5e4e8a9027922be2e1e7b2a (diff)
downloadvcpkg-eb8819dbf4232a4dde749a72756d0bd935a83f7e.tar.gz
vcpkg-eb8819dbf4232a4dde749a72756d0bd935a83f7e.zip
Merge pull request #1212 from daef/patch-1
replace empty-include-dir-hack with new policy
-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)