summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt33
1 files changed, 17 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 64a015734..36f6ee02a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,23 +54,24 @@ add_custom_target(install-apidox
##### optional stuff ############################
-option( WITH_ARTS "Enable aRts support" OFF )
-option( WITH_SASL "Enable cyrus-sasl support" OFF )
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} )
+option( WITH_SASL "Enable cyrus-sasl support" ${WITH_ALL_OPTIONS} )
option( WITH_NEWDISTRLISTS "Enable the new distribution lists" ON )
-option( WITH_GNOKII "Enable gnokii support" OFF )
-option( WITH_EXCHANGE "Enable Microsoft Exchange 2000 support" OFF )
-option( WITH_EGROUPWARE "Enable egroupware support" OFF )
-option( WITH_KOLAB "Enable kolab support" OFF )
-option( WITH_SLOX "Enable slox support" OFF )
-option( WITH_GROUPWISE "Enable groupwise support" OFF )
-option( WITH_FEATUREPLAN "Enable featureplan support" OFF )
-option( WITH_GROUPDAV "Enable groupdav support" OFF )
-option( WITH_BIRTHDAYS "Enable birthdays support" OFF )
-option( WITH_NEWEXCHANGE "Enable newexchange support" OFF )
-option( WITH_SCALIX "Enable scalix support" OFF )
-option( WITH_CALDAV "Enable caldav support" OFF )
-option( WITH_CARDDAV "Enable carddav support" OFF )
-option( WITH_INDEXLIB "Enable indexlib support (in kmail)" OFF )
+option( WITH_GNOKII "Enable gnokii support" ${WITH_ALL_OPTIONS} )
+option( WITH_EXCHANGE "Enable Microsoft Exchange 2000 support" ${WITH_ALL_OPTIONS} )
+option( WITH_EGROUPWARE "Enable egroupware support" ${WITH_ALL_OPTIONS} )
+option( WITH_KOLAB "Enable kolab support" ${WITH_ALL_OPTIONS} )
+option( WITH_SLOX "Enable slox support" ${WITH_ALL_OPTIONS} )
+option( WITH_GROUPWISE "Enable groupwise support" ${WITH_ALL_OPTIONS} )
+option( WITH_FEATUREPLAN "Enable featureplan support" ${WITH_ALL_OPTIONS} )
+option( WITH_GROUPDAV "Enable groupdav support" ${WITH_ALL_OPTIONS} )
+option( WITH_BIRTHDAYS "Enable birthdays support" ${WITH_ALL_OPTIONS} )
+option( WITH_NEWEXCHANGE "Enable newexchange support" ${WITH_ALL_OPTIONS} )
+option( WITH_SCALIX "Enable scalix support" ${WITH_ALL_OPTIONS} )
+option( WITH_CALDAV "Enable caldav support" ${WITH_ALL_OPTIONS} )
+option( WITH_CARDDAV "Enable carddav support" ${WITH_ALL_OPTIONS} )
+option( WITH_INDEXLIB "Enable indexlib support (in kmail)" ${WITH_ALL_OPTIONS} )
if( NOT WITH_ARTS )
set( WITHOUT_ARTS 1 )