Skip to content

Commit

Permalink
fix: mbedtls >=v3.5.0 build error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 authored Jan 5, 2024
1 parent 02acd18 commit 28d82f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,9 @@ if (ENABLE_ENCRYPTION)
endif()
if ("${SSL_LIBRARIES}" STREQUAL "")
set (SSL_LIBRARIES mbedtls mbedcrypto)
if (WIN32)
set (SSL_LIBRARIES ${SSL_LIBRARIES} bcrypt)
endif()
endif()
message(STATUS "SSL enforced mbedtls: -I ${SSL_INCLUDE_DIRS} -l;${SSL_LIBRARIES}")

Expand Down

0 comments on commit 28d82f7

Please sign in to comment.