summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-22 13:38:29 -0500
committerTimothy Pearson <[email protected]>2012-06-22 13:38:29 -0500
commit44d1a52bf8b9bf70433107446ec20dfe05b198fb (patch)
tree0a804104d45abb1d23d59a97b7cdaff1fb74fab8 /kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
parent9227f8aca3cd2efe94eab60c3676d96247f337f5 (diff)
downloadtdegraphics-44d1a52bf8b9bf70433107446ec20dfe05b198fb.tar.gz
tdegraphics-44d1a52bf8b9bf70433107446ec20dfe05b198fb.zip
Fix FTBFS on Poppler >= 0.20
This resolves Bug 1061
Diffstat (limited to 'kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake')
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
index 2242eed0..eab7a0a9 100644
--- a/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
+++ b/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
@@ -15,4 +15,9 @@ check_cxx_source_compiles("
#include <poppler/PSOutputDev.h>
int main(int, char**) { int a; int b; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, (XRef*)0, (Catalog*)0, NULL, 0, 0, psModePS, a, b); } "
HAVE_POPPLER_016 )
+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 )
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+