mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 09:47:49 +08:00
e16cf98a5b
* [poco] pre 2.0.0 - Updated to the latest compiling commit - Added SQLite support - Added PDF support - Added MariaDB support - Added PostgreSQL support * Additional include files not part of any libraries * DataException is no more part of Poco::Data * [3fd] Patch 3fd to comply with poco-2.0.0pre
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt
|
|
index 4fedfd5..741313b 100644
|
|
--- a/Foundation/CMakeLists.txt
|
|
+++ b/Foundation/CMakeLists.txt
|
|
@@ -35,6 +35,22 @@ if (POCO_UNBUNDLED)
|
|
find_package(PCRE REQUIRED)
|
|
find_package(ZLIB REQUIRED)
|
|
|
|
+ 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
|
|
+ )
|
|
+
|
|
#HACK: Unicode.cpp requires functions from these files. The can't be taken from the library
|
|
POCO_SOURCES( SRCS RegExp
|
|
src/pcre_ucd.c
|