mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
Update CMakeLists.txt
This commit is contained in:
@@ -483,6 +483,7 @@ endif()
|
|||||||
|
|
||||||
check_symbol_exists(getentropy "unistd.h" HAVE_GETENTROPY)
|
check_symbol_exists(getentropy "unistd.h" HAVE_GETENTROPY)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS)
|
||||||
list(APPEND src src/rand_win.c src/http_win.c)
|
list(APPEND src src/rand_win.c src/http_win.c)
|
||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
list(APPEND src src/rand_apple.c src/http.c)
|
list(APPEND src src/rand_apple.c src/http.c)
|
||||||
|
|||||||
Reference in New Issue
Block a user