Fixed Windows 7 compatibility

This commit is contained in:
SChernykh
2023-08-31 16:21:59 +02:00
parent fecfa18999
commit 8e0f28ee30
12 changed files with 12 additions and 2 deletions

View File

@@ -164,6 +164,8 @@ if (WIN32)
set(LIBS ${LIBS} bcrypt)
endif()
add_definitions(-DCURL_STATICLIB)
add_definitions(-DWIN32_LEAN_AND_MEAN)
add_definitions(-D_WIN32_WINNT=0x0600)
elseif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
set(LIBS ${LIBS} pthread)
elseif (NOT APPLE)