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