mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 18:47:09 +01:00
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
This commit is contained in:
parent
3ebcdd384b
commit
40e9cca003
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user