aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/poco/0009-fix-zip-to-xml-dependency.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/poco/0009-fix-zip-to-xml-dependency.patch')
-rw-r--r--vcpkg/ports/poco/0009-fix-zip-to-xml-dependency.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/poco/0009-fix-zip-to-xml-dependency.patch b/vcpkg/ports/poco/0009-fix-zip-to-xml-dependency.patch
new file mode 100644
index 0000000..159c52a
--- /dev/null
+++ b/vcpkg/ports/poco/0009-fix-zip-to-xml-dependency.patch
@@ -0,0 +1,22 @@
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e88e5612a..23b4c992f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -459,12 +459,12 @@ if(EXISTS ${PROJECT_SOURCE_DIR}/ActiveRecord/Compiler AND ENABLE_ACTIVERECORD_CO
+ list(APPEND Poco_COMPONENTS "ActiveRecordCompiler")
+ endif()
+
+-if(EXISTS ${PROJECT_SOURCE_DIR}/SevenZip AND ENABLE_SEVENZIP AND ENABLE_XML)
++if(EXISTS ${PROJECT_SOURCE_DIR}/SevenZip AND ENABLE_SEVENZIP)
+ add_subdirectory(SevenZip)
+ list(APPEND Poco_COMPONENTS "SevenZip")
+ endif()
+
+-if(EXISTS ${PROJECT_SOURCE_DIR}/Zip AND ENABLE_ZIP AND ENABLE_XML)
++if(EXISTS ${PROJECT_SOURCE_DIR}/Zip AND ENABLE_ZIP)
+ add_subdirectory(Zip)
+ list(APPEND Poco_COMPONENTS "Zip")
+ endif()