Skip to content

Commit

Permalink
add smime header when building with OpenSSL support
Browse files Browse the repository at this point in the history
  • Loading branch information
640kb authored and Daniel Wendt committed Jul 23, 2024
1 parent 04eb9eb commit 3c36435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ set(simplemailqt_HEADERS_PRIVATE
)

if(BUILD_WITH_SMIME)
add_definitions(-DWITH_SMIME)
list(APPEND simplemailqt_SRC
smime.cpp
)
Expand Down
3 changes: 3 additions & 0 deletions src/SimpleMail
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@
#include "mimefile.h"
#include "server.h"
#include "serverreply.h"
#ifdef WITH_SMIME
#include "smime.h"
#endif

0 comments on commit 3c36435

Please sign in to comment.