From d52d7d683f058f116c832624b2ec8a977017aaec Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 27 Nov 2024 10:20:37 +0100 Subject: [PATCH] fix: target_link_libraries with a target must be either all-keyword or all-plain --- src/m_email/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_email/CMakeLists.txt b/src/m_email/CMakeLists.txt index 46283bc..b50eb5a 100644 --- a/src/m_email/CMakeLists.txt +++ b/src/m_email/CMakeLists.txt @@ -46,7 +46,7 @@ set(VMIME_HAVE_MESSAGING_PROTO_SENDMAIL OFF CACHE BOOL "No Sendmail protocol") add_subdirectory(vmime "vmime" EXCLUDE_FROM_ALL) if(MINGW) - target_link_libraries(vmime-static PRIVATE ws2_32) + target_link_libraries(vmime-static ws2_32 mlang) endif() # install dir