[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [okular] cmake/modules: Make sure HAVE_POPPLER_0_22 really checks for latest version
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2012-10-28 16:39:03
Message-ID: 20121028163903.B37A9A6078 () git ! kde ! org
[Download RAW message or body]

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.cmake
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 <poppler-qt4.h>
 #include <poppler-annotation.h>
+#include <poppler-link.h>
 
 int main()
 {
@@ -107,6 +108,7 @@ int main()
   movie->showPosterImage();
 
   const Poppler::Annotation::AdditionalActionType type = Poppler::Annotation::PageOpeningAction;
+  const Poppler::LinkRendition::RenditionAction action = Poppler::LinkRendition::NoRendition;
 
   return 0;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic