vcpkg/ports/poco/unbundled_pdf.patch
Jocelyn GENNESSEAUX e16cf98a5b [poco] pre 2.0.0 (#5503)
* [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
2019-03-08 16:18:22 -08:00

18 lines
505 B
Diff

diff --git a/PDF/CMakeLists.txt b/PDF/CMakeLists.txt
index b377035..9cfbd32 100644
--- a/PDF/CMakeLists.txt
+++ b/PDF/CMakeLists.txt
@@ -31,6 +31,12 @@ endif (POCO_UNBUNDLED)
# TODO: Currently only bundled is supported, in future this should also be possible
# with an unbundled version of hpdf
# hpdf
+if (POCO_UNBUNDLED)
+ POCO_SOURCES( SRCS hpdf
+ src/bmpread.c
+ )
+endif (POCO_UNBUNDLED)
+
POCO_SOURCES(SRCS hpdf
src/hpdf_3dmeasure.c
src/hpdf_annotation.c