Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/CMakeLists.txt
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Line(s) | |||||
151 | { | 151 | { | ||
152 | Poppler::FormFieldIcon icon(nullptr); | 152 | Poppler::FormFieldIcon icon(nullptr); | ||
153 | Poppler::FormFieldButton *button; | 153 | Poppler::FormFieldButton *button; | ||
154 | button->setIcon( icon ); | 154 | button->setIcon( icon ); | ||
155 | return 0; | 155 | return 0; | ||
156 | } | 156 | } | ||
157 | " HAVE_POPPLER_0_79) | 157 | " HAVE_POPPLER_0_79) | ||
158 | 158 | | |||
159 | check_cxx_source_compiles(" | ||||
160 | #include <poppler-qt5.h> | ||||
161 | int main() | ||||
162 | { | ||||
163 | Poppler::FontInfo info; | ||||
164 | QString substituteName = info.substituteName(); | ||||
165 | return 0; | ||||
166 | } | ||||
167 | " HAVE_POPPLER_0_80) | ||||
168 | | ||||
159 | configure_file( | 169 | configure_file( | ||
160 | ${CMAKE_CURRENT_SOURCE_DIR}/config-okular-poppler.h.cmake | 170 | ${CMAKE_CURRENT_SOURCE_DIR}/config-okular-poppler.h.cmake | ||
161 | ${CMAKE_CURRENT_BINARY_DIR}/config-okular-poppler.h | 171 | ${CMAKE_CURRENT_BINARY_DIR}/config-okular-poppler.h | ||
162 | ) | 172 | ) | ||
163 | 173 | | |||
164 | include_directories( | 174 | include_directories( | ||
165 | ${CMAKE_CURRENT_SOURCE_DIR}/../.. | 175 | ${CMAKE_CURRENT_SOURCE_DIR}/../.. | ||
166 | ) | 176 | ) | ||
Show All 24 Lines |