Skip to content

Commit

Permalink
Merge pull request #8361 from redbaron/patch-1
Browse files Browse the repository at this point in the history
Link to advapi32 on Windows
  • Loading branch information
dgarske authored Jan 21, 2025
2 parents d6912a8 + aa46cd2 commit e5f880a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2412,7 +2412,7 @@ target_link_libraries(wolfssl PUBLIC ${WOLFSSL_LINK_LIBS})
if(WIN32)
# For Windows link ws2_32
target_link_libraries(wolfssl PUBLIC
$<$<PLATFORM_ID:Windows>:ws2_32 crypt32>)
$<$<PLATFORM_ID:Windows>:ws2_32 crypt32 advapi32>)
elseif(APPLE)
if(WOLFSSL_SYS_CA_CERTS)
target_link_libraries(wolfssl PUBLIC
Expand Down

0 comments on commit e5f880a

Please sign in to comment.