Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/CMakeLists.txt
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | |||||
91 | #include <poppler-form.h> | 91 | #include <poppler-form.h> | ||
92 | int main() | 92 | int main() | ||
93 | { | 93 | { | ||
94 | Poppler::FormField *f; | 94 | Poppler::FormField *f; | ||
95 | f->additionalAction(Poppler::Annotation::CursorEnteringAction); | 95 | f->additionalAction(Poppler::Annotation::CursorEnteringAction); | ||
96 | } | 96 | } | ||
97 | " HAVE_POPPLER_0_65) | 97 | " HAVE_POPPLER_0_65) | ||
98 | 98 | | |||
99 | check_cxx_source_compiles(" | ||||
100 | #include <poppler-qt5.h> | ||||
101 | #include <QColor> | ||||
102 | int main() | ||||
103 | { | ||||
104 | Poppler::TextAnnotation *annot = new Poppler::TextAnnotation( Poppler::TextAnnotation::InPlace ); | ||||
105 | annot->setTextColor( Qt::blue ); | ||||
106 | return 0; | ||||
107 | } | ||||
108 | " HAVE_POPPLER_0_69) | ||||
sander: This will have to be at least 0.69... | |||||
109 | | ||||
99 | configure_file( | 110 | configure_file( | ||
100 | ${CMAKE_CURRENT_SOURCE_DIR}/config-okular-poppler.h.cmake | 111 | ${CMAKE_CURRENT_SOURCE_DIR}/config-okular-poppler.h.cmake | ||
101 | ${CMAKE_CURRENT_BINARY_DIR}/config-okular-poppler.h | 112 | ${CMAKE_CURRENT_BINARY_DIR}/config-okular-poppler.h | ||
102 | ) | 113 | ) | ||
103 | 114 | | |||
104 | include_directories( | 115 | include_directories( | ||
105 | ${CMAKE_CURRENT_SOURCE_DIR}/../.. | 116 | ${CMAKE_CURRENT_SOURCE_DIR}/../.. | ||
106 | ) | 117 | ) | ||
Show All 23 Lines |
This will have to be at least 0.69...