From 0c9dc59b6ff4e612d97cc2103ff948c5cbab0a7c Mon Sep 17 00:00:00 2001 From: Saturneric Date: Sat, 15 Jan 2022 00:26:54 +0800 Subject: [PATCH] (project):i only link malng when shared library allowed. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4aa5c3f8..d09a81ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -880,9 +880,9 @@ IF(WIN32) IF(VMIME_HAVE_MLANG_H) IF(VMIME_HAVE_MLANG_LIB) - SET(VMIME_HAVE_MLANG ON) IF(VMIME_BUILD_SHARED_LIBRARY) + SET(VMIME_HAVE_MLANG ON) TARGET_LINK_LIBRARIES( ${VMIME_LIBRARY_NAME} ${TARGET_LINK_LIBRARIES}