From 46d2b31ea023b3b1c886fb7b812c86ec3c4ab0ca Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 26 Nov 2024 23:56:45 +0100 Subject: [PATCH] fix: disable unused features of vmime --- src/m_email/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/m_email/CMakeLists.txt b/src/m_email/CMakeLists.txt index f269aa3..c080d86 100644 --- a/src/m_email/CMakeLists.txt +++ b/src/m_email/CMakeLists.txt @@ -38,6 +38,11 @@ set(VMIME_HAVE_SASL_SUPPORT OFF CACHE BOOL "No SASL") set(VMIME_BUILD_DOCUMENTATION OFF CACHE BOOL "Document IS Not Necessary HERE") set(VMIME_BUILD_STATIC_LIBRARY ON CACHE BOOL "Need Static Library") set(VMIME_BUILD_SHARED_LIBRARY OFF CACHE BOOL "No Shared Library") +set(VMIME_HAVE_MESSAGING_PROTO_POP3 OFF CACHE BOOL "No POP3 protocol") +set(VMIME_HAVE_MESSAGING_PROTO_SMTP OFF CACHE BOOL "No SMTP protocol") +set(VMIME_HAVE_MESSAGING_PROTO_IMAP OFF CACHE BOOL "No IMAP protocol") +set(VMIME_HAVE_MESSAGING_PROTO_MAILDIR OFF CACHE BOOL "No Maildir protocol") +set(VMIME_HAVE_MESSAGING_PROTO_SENDMAIL OFF CACHE BOOL "No Sendmail protocol") add_subdirectory(vmime "vmime" EXCLUDE_FROM_ALL) # install dir