From kde-commits Sun Oct 28 16:39:03 2012 From: Tobias Koenig Date: Sun, 28 Oct 2012 16:39:03 +0000 To: kde-commits Subject: [okular] cmake/modules: Make sure HAVE_POPPLER_0_22 really checks for latest version Message-Id: <20121028163903.B37A9A6078 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=135144235225821 Git commit 24e8fbd447a0b61d5166b3ef8bcf584ff554f829 by Tobias Koenig. Committed on 28/10/2012 at 17:38. Pushed by tokoe into branch 'master'. Make sure HAVE_POPPLER_0_22 really checks for latest version M +2 -0 cmake/modules/FindPoppler.cmake http://commits.kde.org/okular/24e8fbd447a0b61d5166b3ef8bcf584ff554f829 diff --git a/cmake/modules/FindPoppler.cmake b/cmake/modules/FindPoppler.cm= ake index 1763ee9..0950207 100644 --- a/cmake/modules/FindPoppler.cmake +++ b/cmake/modules/FindPoppler.cmake @@ -100,6 +100,7 @@ int main() check_cxx_source_compiles(" #include #include +#include = int main() { @@ -107,6 +108,7 @@ int main() movie->showPosterImage(); = const Poppler::Annotation::AdditionalActionType type =3D Poppler::Annota= tion::PageOpeningAction; + const Poppler::LinkRendition::RenditionAction action =3D Poppler::LinkRe= ndition::NoRendition; = return 0; }