Browse Source
Fix static linking issues on Windows.
pull/2698/head
DDoSolitary
5 years ago
No known key found for this signature in database
GPG Key ID: 90A79E1B71BC0CB1
1 changed files with
2 additions and
0 deletions
-
src/CMakeLists.txt
|
|
@ -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 () |
|
|
|
|
|
|
|