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

List:       kde-commits
Subject:    KDE/kdepim
From:       Christophe Giboudeaux <cgiboudeaux () gmail ! com>
Date:       2009-10-05 11:27:00
Message-ID: 1254742020.275717.6658.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1031526 by cgiboudeaux:

Add the KMAIL_SUPPORTED definition only if KMail is compiled.

 M  +5 -2      CMakeLists.txt  


--- trunk/KDE/kdepim/CMakeLists.txt #1031525:1031526
@@ -183,8 +183,11 @@
     # The following components depend on QGpgME.
     macro_optional_add_subdirectory(kmail)
     # If kmail is compiled, KMAIL_SUPPORTED is true (used in several places)
-    macro_bool_to_01(BUILD_kmail KMAIL_SUPPORTED)
-    add_definitions(-DKMAIL_SUPPORTED)
+    if(BUILD_kmail)
+      set(KMAIL_SUPPORTED TRUE)
+      add_definitions(-DKMAIL_SUPPORTED)
+    endif(BUILD_kmail)
+
     macro_optional_add_subdirectory(kmailcvt)
     macro_optional_add_subdirectory(ksendemail)
     macro_optional_add_subdirectory(korganizer)
[prev in list] [next in list] [prev in thread] [next in thread] 

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