<fix>(project):i only link malng when shared library allowed.

This commit is contained in:
Saturneric 2022-01-15 00:26:54 +08:00
parent 23ab2a6a3c
commit 0c9dc59b6f
No known key found for this signature in database
GPG Key ID: 3A503919AFFA485F

View File

@ -880,9 +880,9 @@ IF(WIN32)
IF(VMIME_HAVE_MLANG_H) IF(VMIME_HAVE_MLANG_H)
IF(VMIME_HAVE_MLANG_LIB) IF(VMIME_HAVE_MLANG_LIB)
SET(VMIME_HAVE_MLANG ON)
IF(VMIME_BUILD_SHARED_LIBRARY) IF(VMIME_BUILD_SHARED_LIBRARY)
SET(VMIME_HAVE_MLANG ON)
TARGET_LINK_LIBRARIES( TARGET_LINK_LIBRARIES(
${VMIME_LIBRARY_NAME} ${VMIME_LIBRARY_NAME}
${TARGET_LINK_LIBRARIES} ${TARGET_LINK_LIBRARIES}