summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-01-29 19:18:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-01-29 19:18:14 +0100
commit8cf503a6f85234943733d2ca59505898e97053fe (patch)
treeab5ad3d0a637fc095ae4e7daa49c55c2a9bf0167 /tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
parentb5325701e2f51887edabf427bc9b544486860c56 (diff)
downloadtdegraphics-8cf503a6f85234943733d2ca59505898e97053fe.tar.gz
tdegraphics-8cf503a6f85234943733d2ca59505898e97053fe.zip
Add support for poppler 0.30
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake')
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake5
1 files changed, 5 insertions, 0 deletions
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 <poppler/PSOutputDev.h>
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 <vector>
+ #include <poppler/PSOutputDev.h>
+ int main(int, char**) { int a; int b; std::vector<int> p; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, p, psModePS, a, b); } "
+ HAVE_POPPLER_030 )
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )