build: disable mailio/Boost by default (USE_MAILIO_IMAP=OFF)
Avoids broken thirdparty/boost and missing OpenSSL on Windows. Native ImapSynchronizer works without mailio. Enable with -DUSE_MAILIO_IMAP=ON when Boost/OpenSSL are properly installed.
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
# Option to use mailio-based IMAP (OFF by default to avoid Boost dependency issues)
|
# Option to use mailio-based IMAP (OFF by default to avoid Boost dependency issues)
|
||||||
option(USE_MAILIO_IMAP "Use mailio-based IMAP synchronizer (requires Boost)" ON)
|
option(USE_MAILIO_IMAP "Use mailio-based IMAP synchronizer (requires Boost)" OFF)
|
||||||
|
|
||||||
if (USE_MAILIO_IMAP)
|
if (USE_MAILIO_IMAP)
|
||||||
# Use pre-built mailio and Boost from thirdparty/
|
# Use pre-built mailio and Boost from thirdparty/
|
||||||
|
|||||||
Reference in New Issue
Block a user