Fixed issue with ADD_LIBRARY() and export header file.
This commit is contained in:
parent
e088c126ad
commit
53aeff58bf
@ -79,7 +79,6 @@ FILE(
|
|||||||
)
|
)
|
||||||
|
|
||||||
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/config.hpp")
|
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/config.hpp")
|
||||||
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export.hpp")
|
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
@ -111,6 +110,8 @@ IF(VMIME_BUILD_SHARED_LIBRARY)
|
|||||||
EXPORT_FILE_NAME ${CMAKE_SOURCE_DIR}/vmime/export.hpp
|
EXPORT_FILE_NAME ${CMAKE_SOURCE_DIR}/vmime/export.hpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
LIST(APPEND VMIME_LIBRARY_INCLUDE_FILES "vmime/export.hpp")
|
||||||
|
|
||||||
SET_TARGET_PROPERTIES(
|
SET_TARGET_PROPERTIES(
|
||||||
${VMIME_LIBRARY_NAME}
|
${VMIME_LIBRARY_NAME}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
|
Loading…
Reference in New Issue
Block a user