mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 04:49:02 +08:00
08bb6e106e
* Update to 7.81.0 * Revise curl wrapper, fix `COMPONENTS` * Update versions * Add fix for multi-ssl config * [skip actions] CI feature test * Refactor lib export fixup Handle Debug/Release/IMPORTED_*... * Fix libssh2 lookup * Fix libidn2.pc for windows * Fix libidn2 import * Fix mbedtls import * Simplify options * [skip actions] CI feature test * Revert CI feature test configuration * Update versions * Limit import lib fixup to WIN32 * Update versions
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
|