aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c8d291f..e8f47332 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,7 +79,6 @@ FILE(
)
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/config.hpp")
-LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export.hpp")
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
@@ -111,6 +110,8 @@ IF(VMIME_BUILD_SHARED_LIBRARY)
EXPORT_FILE_NAME ${CMAKE_SOURCE_DIR}/vmime/export.hpp
)
+ LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export.hpp")
+
SET_TARGET_PROPERTIES(
${VMIME_LIBRARY_NAME}
PROPERTIES