Fix static linking issues on Windows.

This commit is contained in:
DDoSolitary
2020-05-02 13:36:38 +08:00
parent f1f3e9d6ca
commit 93336adf66
+2
View File
@@ -115,8 +115,10 @@ list(APPEND DEPS
${LIBMBEDTLS}
${LIBMBEDCRYPTO}
)
if (MINGW)
list(APPEND DEPS ws2_32)
add_compile_definitions(CARES_STATICLIB PCRE_STATIC)
endif ()
endif ()