5 Star 0 Fork 14

src-openEuler/poco

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch 790 Bytes
一键复制 编辑 原始数据 按行查看 历史
simonaXi 提交于 2023-08-11 11:50 . Fix: fix
From 25136270c5d6b8fa6c2238df640c812465aae1f4 Mon Sep 17 00:00:00 2001
From: Scott Talbert <swt@techie.net>
Date: Mon, 24 Oct 2022 21:21:31 -0500
Subject: [PATCH 1/2] Fix XML compilation due to new methods being guarded by
XML_DTD
---
XML/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/XML/CMakeLists.txt b/XML/CMakeLists.txt
index 123657a0c..b99f4f376 100644
--- a/XML/CMakeLists.txt
+++ b/XML/CMakeLists.txt
@@ -51,7 +51,7 @@ target_include_directories(XML
if(POCO_UNBUNDLED)
target_link_libraries(XML PUBLIC EXPAT::EXPAT)
- target_compile_definitions(XML PUBLIC POCO_UNBUNDLED)
+ target_compile_definitions(XML PUBLIC POCO_UNBUNDLED XML_DTD)
else()
if(WIN32)
#TODO: Is XML_STATIC only required with Windows? What does it do?
--
2.38.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/poco.git
git@gitee.com:src-openeuler/poco.git
src-openeuler
poco
poco
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385