mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-17 23:11:48 +00:00
Add detection for poppler 0.64
This commit is contained in:
parent
5c04f0834d
commit
adfb3cc2d6
|
@ -72,6 +72,16 @@ int main()
|
|||
}
|
||||
" HAVE_POPPLER_0_63)
|
||||
|
||||
check_cxx_source_compiles("
|
||||
#include <poppler-qt5.h>
|
||||
#include <poppler-form.h>
|
||||
int main()
|
||||
{
|
||||
Poppler::FormField *f;
|
||||
f->setReadOnly(true);
|
||||
}
|
||||
" HAVE_POPPLER_0_64)
|
||||
|
||||
configure_file(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/config-okular-poppler.h.cmake
|
||||
${CMAKE_CURRENT_BINARY_DIR}/config-okular-poppler.h
|
||||
|
|
|
@ -24,3 +24,6 @@
|
|||
|
||||
/* Defined if we have the 0.63 version of the Poppler library */
|
||||
#cmakedefine HAVE_POPPLER_0_63 1
|
||||
|
||||
/* Defined if we have the 0.64 version of the Poppler library */
|
||||
#cmakedefine HAVE_POPPLER_0_64 1
|
||||
|
|
Loading…
Reference in a new issue