mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Merge pull request #1396 from dudamao/master
add link libraries ws2_32, fix win32 compile error.
This commit is contained in:
@@ -300,6 +300,7 @@ add_library(gmssl ${src})
|
||||
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(gmssl -lws2_32)
|
||||
elseif (APPLE)
|
||||
target_link_libraries(gmssl dl)
|
||||
target_link_libraries(gmssl "-framework Security")
|
||||
|
||||
Reference in New Issue
Block a user