aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrusdevops <[email protected]>2017-10-12 15:06:53 +0000
committerGitHub <[email protected]>2017-10-12 15:06:53 +0000
commit51af739f8ecea4cde3f7ac2648be9c4c9ee421b4 (patch)
tree063910f9cc5d99c9882c957199a0f3af229e0bd5
parentUpdate CMakeLists.txt (diff)
downloadvmime-51af739f8ecea4cde3f7ac2648be9c4c9ee421b4.tar.gz
vmime-51af739f8ecea4cde3f7ac2648be9c4c9ee421b4.zip
Update CMakeLists.txt
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a17532ba..74291351 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -109,6 +109,10 @@ IF(VMIME_BUILD_SHARED_LIBRARY)
${VMIME_LIBRARY_INCLUDE_FILES}
)
+ TARGET_INCLUDE_DIRECTORIES(${VMIME_LIBRARY_NAME} PUBLIC
+ $<INSTALL_INTERFACE:include>
+ )
+
GENERATE_EXPORT_HEADER(
${VMIME_LIBRARY_NAME}
BASE_NAME VMIME
@@ -154,6 +158,10 @@ IF(VMIME_BUILD_STATIC_LIBRARY)
${VMIME_LIBRARY_INCLUDE_FILES}
)
+ TARGET_INCLUDE_DIRECTORIES(${VMIME_LIBRARY_NAME}-static PUBLIC
+ $<INSTALL_INTERFACE:include>
+ )
+
GENERATE_EXPORT_HEADER(
${VMIME_LIBRARY_NAME}-static
BASE_NAME VMIME