|
Lines 10-25
Link Here
|
| 10 |
set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${QT_INCLUDE_DIRS} ${POPPLER_INCLUDE_DIRS}) |
10 |
set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${QT_INCLUDE_DIRS} ${POPPLER_INCLUDE_DIRS}) |
| 11 |
set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} ${POPPLER_LDFLAGS} ) |
11 |
set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} ${POPPLER_LDFLAGS} ) |
| 12 |
check_cxx_source_compiles(" |
12 |
check_cxx_source_compiles(" |
| 13 |
#include <poppler/PSOutputDev.h> |
13 |
#include <PSOutputDev.h> |
| 14 |
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); } " |
14 |
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); } " |
| 15 |
HAVE_POPPLER_016 ) |
15 |
HAVE_POPPLER_016 ) |
| 16 |
check_cxx_source_compiles(" |
16 |
check_cxx_source_compiles(" |
| 17 |
#include <poppler/PSOutputDev.h> |
17 |
#include <PSOutputDev.h> |
| 18 |
int main(int, char**) { int a; int b; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, 0, 0, psModePS, a, b); } " |
18 |
int main(int, char**) { int a; int b; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, 0, 0, psModePS, a, b); } " |
| 19 |
HAVE_POPPLER_020 ) |
19 |
HAVE_POPPLER_020 ) |
| 20 |
check_cxx_source_compiles(" |
20 |
check_cxx_source_compiles(" |
| 21 |
#include <vector> |
21 |
#include <vector> |
| 22 |
#include <poppler/PSOutputDev.h> |
22 |
#include <PSOutputDev.h> |
| 23 |
int main(int, char**) { int a; int b; std::vector<int> p; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, p, psModePS, a, b); } " |
23 |
int main(int, char**) { int a; int b; std::vector<int> p; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, p, psModePS, a, b); } " |
| 24 |
HAVE_POPPLER_030 ) |
24 |
HAVE_POPPLER_030 ) |
| 25 |
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) |
25 |
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) |