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)