Commit 3f473512 authored by Pino Toscano's avatar Pino Toscano

add detection for poppler 0.11 (development version of poppler 0.12)

svn path=/trunk/KDE/kdegraphics/okular/; revision=967387
parent 5b1276dc
......@@ -10,6 +10,15 @@ int main()
return 0;
}
" HAVE_POPPLER_0_9)
check_cxx_source_compiles("
#include <poppler-qt4.h>
int main()
{
Poppler::LinkDestination * dest = 0;
const QString foo = dest->destinationName();
return 0;
}
" HAVE_POPPLER_0_11)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/config-okular-poppler.h.cmake
......
/* Defined if we have the 0.9 version of the Poppler library */
#cmakedefine HAVE_POPPLER_0_9 1
/* Defined if we have the 0.11 version of the Poppler library */
#cmakedefine HAVE_POPPLER_0_11 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment