[Kde-pim] [kdepim] /: Fix kdepim build when Grantlee isn't installed.

Michael Pyne mpyne at kde.org
Mon Nov 12 03:04:57 GMT 2012


Git commit 41f8dd5059c73a7b5b4388d76190985eea12c9d9 by Michael Pyne.
Committed on 12/11/2012 at 00:38.
Pushed by mpyne into branch 'master'.

Fix kdepim build when Grantlee isn't installed.

I haven't reviewed to see if this is required on other branches.

CCMAIL:kde-pim at kde.org

M  +1    -1    CMakeLists.txt

http://commits.kde.org/kdepim/41f8dd5059c73a7b5b4388d76190985eea12c9d9

diff --git a/CMakeLists.txt b/CMakeLists.txt
index af2bcc6..21116fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -212,7 +212,7 @@ else()
   find_package(Grantlee QUIET NO_MODULE)
   macro_log_feature(Grantlee_FOUND "Grantlee" "The Grantlee Template System" "http://www.gitorious.org/grantlee/pages/Home" FALSE "" "Templating and theming for KJots and KaddressBook." )
 
-  if(${Grantlee_VERSION} VERSION_GREATER "0.2.0" )
+  if(${Grantlee_FOUND} AND ("${Grantlee_VERSION}" VERSION_GREATER "0.2.0"))
      set(GRANTLEE_GREATER_0_2 TRUE)
   endif()
 
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list