From 8cf503a6f85234943733d2ca59505898e97053fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 29 Jan 2015 19:18:14 +0100 Subject: Add support for poppler 0.30 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake') diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake index b15057c9..667cb317 100644 --- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake +++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake @@ -17,5 +17,10 @@ check_cxx_source_compiles(" #include int main(int, char**) { int a; int b; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, 0, 0, psModePS, a, b); } " HAVE_POPPLER_020 ) +check_cxx_source_compiles(" + #include + #include + int main(int, char**) { int a; int b; std::vector p; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, p, psModePS, a, b); } " + HAVE_POPPLER_030 ) tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) -- cgit v1.2.1