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:28 +0100
commitc5814e9e4ed980abe663804e6b2bfeb55b8cad26 (patch)
treeab5ad3d0a637fc095ae4e7daa49c55c2a9bf0167 /tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
parent089caba3647a01874638cd1e3a2c1b039157186c (diff)
downloadtdegraphics-c5814e9e4ed980abe663804e6b2bfeb55b8cad26.tar.gz
tdegraphics-c5814e9e4ed980abe663804e6b2bfeb55b8cad26.zip
Add support for poppler 0.30
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8cf503a6f85234943733d2ca59505898e97053fe)
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 )