<fix>(project):i only link malng when shared library allowed.
This commit is contained in:
parent
23ab2a6a3c
commit
0c9dc59b6f
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user