diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-07-16 21:20:38 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-07-16 21:20:38 -0700 |
commit | c045f956a74dd0068f75edafeecac70e7cef0953 (patch) | |
tree | c7af4f7f60be3ef8cc0360c9e9c770a3304294fe /src/cmake | |
parent | f5e4186da2bc1c6d88582e8f2d4c6a236e278840 (diff) |
Fixed #8: When the attachment is a folder, the folder is compressed and the attachment is the compressed file.
Diffstat (limited to 'src/cmake')
-rw-r--r-- | src/cmake/core.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmake/core.cmake b/src/cmake/core.cmake index 1322318c..f2678ad1 100644 --- a/src/cmake/core.cmake +++ b/src/cmake/core.cmake @@ -91,6 +91,14 @@ set(smtp_files core/smtp/MCSMTPSession.cc ) +set(zip_files + core/zip/MCZip.cc + core/zip/MiniZip/ioapi.c + core/zip/MiniZip/mztools.c + core/zip/MiniZip/unzip.c + core/zip/MiniZip/zip.c +) + set(core_files ${basetypes_files} ${abstract_files} @@ -99,6 +107,7 @@ set(core_files ${renderer_files} ${rfc822_files} ${smtp_files} + ${zip_files} ) # Includes for build @@ -113,4 +122,6 @@ set(core_includes ${CMAKE_CURRENT_SOURCE_DIR}/core/renderer ${CMAKE_CURRENT_SOURCE_DIR}/core/rfc822 ${CMAKE_CURRENT_SOURCE_DIR}/core/smtp + ${CMAKE_CURRENT_SOURCE_DIR}/core/zip + ${CMAKE_CURRENT_SOURCE_DIR}/core/zip/MiniZip ) |