fix: target_link_libraries with a target

must be either all-keyword or all-plain
This commit is contained in:
saturneric 2024-11-27 10:20:37 +01:00
parent b8371af866
commit d52d7d683f

View File

@ -46,7 +46,7 @@ set(VMIME_HAVE_MESSAGING_PROTO_SENDMAIL OFF CACHE BOOL "No Sendmail protocol")
add_subdirectory(vmime "vmime" EXCLUDE_FROM_ALL) add_subdirectory(vmime "vmime" EXCLUDE_FROM_ALL)
if(MINGW) if(MINGW)
target_link_libraries(vmime-static PRIVATE ws2_32) target_link_libraries(vmime-static ws2_32 mlang)
endif() endif()
# install dir # install dir