diff options
author | Vincent Richard <[email protected]> | 2015-01-01 11:54:21 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2015-01-01 11:54:21 +0000 |
commit | d13e1133f0066bb01cb6f6e900579a8a059d0cdf (patch) | |
tree | f9b8e8acf2c119482f654064da8f91c81bd12a93 /CMakeLists.txt | |
parent | Fixed buffer pointer offset when copying data. (diff) | |
download | vmime-d13e1133f0066bb01cb6f6e900579a8a059d0cdf.tar.gz vmime-d13e1133f0066bb01cb6f6e900579a8a059d0cdf.zip |
Fixed build issues when disabling filesystem features.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dd2eee89..6e0f8010 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1073,6 +1073,11 @@ IF(VMIME_HAVE_MESSAGING_FEATURES AND VMIME_HAVE_MESSAGING_PROTO_MAILDIR AND NOT MESSAGE(FATAL_ERROR "Maildir protocol requires file-system support (VMIME_HAVE_FILESYSTEM_FEATURES must be set to ON).") ENDIF() +# Sendmail protocol is available only if file-system features are enabled +IF(VMIME_HAVE_MESSAGING_FEATURES AND VMIME_HAVE_MESSAGING_PROTO_SENDMAIL AND NOT VMIME_HAVE_FILESYSTEM_FEATURES) + MESSAGE(FATAL_ERROR "Sendmail protocol requires file-system support (VMIME_HAVE_FILESYSTEM_FEATURES must be set to ON).") +ENDIF() + # Path to 'sendmail' must be specified if Sendmail protocol is enabled IF(VMIME_HAVE_MESSAGING_PROTO_SENDMAIL) IF(NOT VMIME_SENDMAIL_PATH OR VMIME_SENDMAIL_PATH STREQUAL "") |