Update CMakeLists.txt
This commit is contained in:
parent
b848dec86a
commit
51af739f8e
@ -109,6 +109,10 @@ IF(VMIME_BUILD_SHARED_LIBRARY)
|
|||||||
${VMIME_LIBRARY_INCLUDE_FILES}
|
${VMIME_LIBRARY_INCLUDE_FILES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
TARGET_INCLUDE_DIRECTORIES(${VMIME_LIBRARY_NAME} PUBLIC
|
||||||
|
$<INSTALL_INTERFACE:include>
|
||||||
|
)
|
||||||
|
|
||||||
GENERATE_EXPORT_HEADER(
|
GENERATE_EXPORT_HEADER(
|
||||||
${VMIME_LIBRARY_NAME}
|
${VMIME_LIBRARY_NAME}
|
||||||
BASE_NAME VMIME
|
BASE_NAME VMIME
|
||||||
@ -154,6 +158,10 @@ IF(VMIME_BUILD_STATIC_LIBRARY)
|
|||||||
${VMIME_LIBRARY_INCLUDE_FILES}
|
${VMIME_LIBRARY_INCLUDE_FILES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
TARGET_INCLUDE_DIRECTORIES(${VMIME_LIBRARY_NAME}-static PUBLIC
|
||||||
|
$<INSTALL_INTERFACE:include>
|
||||||
|
)
|
||||||
|
|
||||||
GENERATE_EXPORT_HEADER(
|
GENERATE_EXPORT_HEADER(
|
||||||
${VMIME_LIBRARY_NAME}-static
|
${VMIME_LIBRARY_NAME}-static
|
||||||
BASE_NAME VMIME
|
BASE_NAME VMIME
|
||||||
|
Loading…
Reference in New Issue
Block a user