Poppler-qt4
Alexander Neundorf
neundorf at kde.org
Thu Jun 29 22:32:18 CEST 2006
On Thursday 29 June 2006 19:38, Albert Astals Cid wrote:
...
> But the pdf kfile-plugin does not, it would not make sense disabling its
> compilation when you have poppler 0.5 for example. Can this be done with
> the cmake framework? And if it can, how?
Yes.
The cmake file can use e.g. CHECK_SYMBOL_EXISTS() or something like this to
check whether some function exists in a given header.
The result can the be used from the outside.
find_package(PopplerQt4)
if (POPPLERQT4_HAVE_FANCY_NEW_FEATURE)
...
endif (POPPLERQT4_HAVE_FANCY_NEW_FEATURE)
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the Kde-buildsystem
mailing list