Add compat bits for libtls on Windows
This commit is contained in:
@@ -19,6 +19,16 @@ set(
|
||||
tls_verify.c
|
||||
)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
set(
|
||||
TLS_SRC
|
||||
${TLS_SRC}
|
||||
compat/ftruncate.c
|
||||
compat/getuid.c
|
||||
compat/pread.c
|
||||
compat/pwrite.c
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NOT "${OPENSSLDIR}" STREQUAL "")
|
||||
add_definitions(-D_PATH_SSL_CA_FILE=\"${OPENSSLDIR}/cert.pem\")
|
||||
|
Reference in New Issue
Block a user