Build: fix missed path for generated files in #277 (#278)

This commit is contained in:
bmagistro 2023-12-31 09:35:57 -05:00 committed by GitHub
parent 82377e0342
commit 7ada1c974c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,10 +154,10 @@ IF(VMIME_BUILD_SHARED_LIBRARY)
COPY
${CMAKE_CURRENT_BINARY_DIR}/export-shared.hpp
DESTINATION
${CMAKE_BINARY_DIR}/src/vmime
${CMAKE_CURRENT_SOURCE_DIR}/src/vmime
)
LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "${CMAKE_BINARY_DIR}/src/vmime/export-shared.hpp")
LIST(APPEND VMIME_LIBRARY_GENERATED_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/vmime/export-shared.hpp")
SET_TARGET_PROPERTIES(
${VMIME_LIBRARY_NAME}