diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-11-13 13:35:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-13 13:35:03 -0800 |
| commit | 132ca47d69e1aaa9fca15167bf7da95d6ea04ca7 (patch) | |
| tree | 325c73fb62a6edbc9f5309ce038ff80697bb35c9 /ports/poco/static_pcre.patch | |
| parent | 783763162901f32e6d6270aede22519844b8e9ce (diff) | |
| download | vcpkg-132ca47d69e1aaa9fca15167bf7da95d6ea04ca7.tar.gz vcpkg-132ca47d69e1aaa9fca15167bf7da95d6ea04ca7.zip | |
[poco] Fix dependency, add features (#14305)
* [poco] Fix dependency, add features
* [poco] Update libmysql related code
* [poco] Drop uwp support, fix cmake path
Diffstat (limited to 'ports/poco/static_pcre.patch')
| -rw-r--r-- | ports/poco/static_pcre.patch | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/ports/poco/static_pcre.patch b/ports/poco/static_pcre.patch index 2618bce1e..adfc5a7e8 100644 --- a/ports/poco/static_pcre.patch +++ b/ports/poco/static_pcre.patch @@ -1,26 +1,26 @@ -diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt
-index f093991..c9fa2e5 100644
---- a/Foundation/CMakeLists.txt
-+++ b/Foundation/CMakeLists.txt
-@@ -103,6 +103,21 @@ set_target_properties(Foundation
- if(POCO_UNBUNDLED)
- target_link_libraries(Foundation PUBLIC unofficial::pcre::pcre ZLIB::ZLIB)
- target_compile_definitions(Foundation PUBLIC POCO_UNBUNDLED)
-+ add_definitions(
-+ -D_pcre_utf8_table1=_poco_pcre_utf8_table1
-+ -D_pcre_utf8_table1_size=_poco_pcre_utf8_table1_size
-+ -D_pcre_utf8_table2=_poco_pcre_utf8_table2
-+ -D_pcre_utf8_table3=_poco_pcre_utf8_table3
-+ -D_pcre_utf8_table4=_poco_pcre_utf8_table4
-+ -D_pcre_utt_names=_poco_pcre_utt_names
-+ -D_pcre_utt=_poco_pcre_utt
-+ -D_pcre_utt_size=_poco_pcre_utt_size
-+ -D_pcre_OP_lengths=_poco_pcre_OP_lengths
-+ -D_pcre_hspace_list=_poco_pcre_hspace_list
-+ -D_pcre_vspace_list=_poco_pcre_vspace_list
-+ -D_pcre_ucp_gentype=_poco_pcre_ucp_gentype
-+ -D_pcre_ucp_gbtable=_poco_pcre_ucp_gbtable
-+ )
- endif(POCO_UNBUNDLED)
-
- target_include_directories(Foundation
+diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt +index 6b276be..6f5100f 100644 +--- a/Foundation/CMakeLists.txt ++++ b/Foundation/CMakeLists.txt +@@ -103,6 +103,21 @@ set_target_properties(Foundation + if(POCO_UNBUNDLED) + target_link_libraries(Foundation PUBLIC Pcre::Pcre ZLIB::ZLIB) + target_compile_definitions(Foundation PUBLIC POCO_UNBUNDLED) ++ add_definitions( ++ -D_pcre_utf8_table1=_poco_pcre_utf8_table1 ++ -D_pcre_utf8_table1_size=_poco_pcre_utf8_table1_size ++ -D_pcre_utf8_table2=_poco_pcre_utf8_table2 ++ -D_pcre_utf8_table3=_poco_pcre_utf8_table3 ++ -D_pcre_utf8_table4=_poco_pcre_utf8_table4 ++ -D_pcre_utt_names=_poco_pcre_utt_names ++ -D_pcre_utt=_poco_pcre_utt ++ -D_pcre_utt_size=_poco_pcre_utt_size ++ -D_pcre_OP_lengths=_poco_pcre_OP_lengths ++ -D_pcre_hspace_list=_poco_pcre_hspace_list ++ -D_pcre_vspace_list=_poco_pcre_vspace_list ++ -D_pcre_ucp_gentype=_poco_pcre_ucp_gentype ++ -D_pcre_ucp_gbtable=_poco_pcre_ucp_gbtable ++ ) + endif(POCO_UNBUNDLED) + + target_include_directories(Foundation |
