From 69813e19b9f2d2c7fafa1ed11122c07d54b581b7 Mon Sep 17 00:00:00 2001 From: Benjamin Gallois Date: Thu, 28 Sep 2023 19:42:57 +0200 Subject: [PATCH] Fix build for Windows (#149) --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5934278..6122ce3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,6 +12,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Network REQUIRED) +add_compile_options(-DSMTP_MIME_LIBRARY) + message(USING QT${QT_VERSION_MAJOR}) add_library(${PROJECT_NAME} SHARED