mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 20:20:31 +08:00
15 lines
509 B
Diff
15 lines
509 B
Diff
|
diff --git a/CMake/FindMbedTLS.cmake b/CMake/FindMbedTLS.cmake
|
||
|
index 7bdb197..c8c5a73 100644
|
||
|
--- a/CMake/FindMbedTLS.cmake
|
||
|
+++ b/CMake/FindMbedTLS.cmake
|
||
|
@@ -26,6 +26,9 @@ find_library(MBEDX509_LIBRARY mbedx509)
|
||
|
find_library(MBEDCRYPTO_LIBRARY mbedcrypto)
|
||
|
|
||
|
set(MBEDTLS_LIBRARIES "${MBEDTLS_LIBRARY}" "${MBEDX509_LIBRARY}" "${MBEDCRYPTO_LIBRARY}")
|
||
|
+if(WIN32)
|
||
|
+ list(APPEND MBEDTLS_LIBRARIES ws2_32)
|
||
|
+endif()
|
||
|
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_package_handle_standard_args(MbedTLS DEFAULT_MSG
|