mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt
|
|
index 5898d22..d8df9dc 100644
|
|
--- a/Foundation/CMakeLists.txt
|
|
+++ b/Foundation/CMakeLists.txt
|
|
@@ -101,6 +101,23 @@ set_target_properties(Foundation
|
|
if(POCO_UNBUNDLED)
|
|
target_link_libraries(Foundation PUBLIC Pcre2::Pcre2 ZLIB::ZLIB Utf8Proc::Utf8Proc)
|
|
target_compile_definitions(Foundation PUBLIC POCO_UNBUNDLED)
|
|
+ add_definitions(
|
|
+ -D_pcre2_utf8_table1=_poco_pcre2_utf8_table1
|
|
+ -D_pcre2_utf8_table1_size=_poco_pcre2_utf8_table1_size
|
|
+ -D_pcre2_utf8_table2=_poco_pcre2_utf8_table2
|
|
+ -D_pcre2_utf8_table3=_poco_pcre2_utf8_table3
|
|
+ -D_pcre2_utf8_table4=_poco_pcre2_utf8_table4
|
|
+ -D_pcre2_OP_lengths_8=_poco_pcre2_OP_lengths_8
|
|
+ -D_pcre2_callout_end_delims_8=_poco_pcre2_callout_end_delims_8
|
|
+ -D_pcre2_callout_start_delims_8=_poco_pcre2_callout_start_delims_8
|
|
+ -D_pcre2_hspace_list_8=_poco_pcre2_hspace_list_8
|
|
+ -D_pcre2_vspace_list_8=_poco_pcre2_vspace_list_8
|
|
+ -D_pcre2_ucp_gbtable_8=_poco_pcre2_ucp_gbtable_8
|
|
+ -D_pcre2_ucp_gentype_8=_poco_pcre2_ucp_gentype_8
|
|
+ -D_pcre2_utt_8=_poco_pcre2_utt_8
|
|
+ -D_pcre2_utt_names_8=_poco_pcre2_utt_names_8
|
|
+ -D_pcre2_utt_size_8=_poco_pcre2_utt_size_8
|
|
+ )
|
|
else()
|
|
target_compile_definitions(Foundation PUBLIC UTF8PROC_STATIC)
|
|
endif(POCO_UNBUNDLED)
|