mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
windows: CHECK_FUNCTION_EXISTS workaround
This commit is contained in:
parent
c5f6d180dd
commit
37e8ee2c00
1 changed files with 10 additions and 0 deletions
|
@ -1246,6 +1246,16 @@ endforeach()
|
|||
|
||||
set (temp ${CMAKE_REQUIRED_LIBRARIES})
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${LIB_LIST})
|
||||
|
||||
if (LWS_WITH_ZLIB)
|
||||
if (LWS_WITH_BUNDLED_ZLIB)
|
||||
if (WIN32)
|
||||
# it's trying to delete internal zlib entry
|
||||
LIST(REMOVE_AT CMAKE_REQUIRED_LIBRARIES 0 )
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
CHECK_FUNCTION_EXISTS(SSL_CTX_set1_param LWS_HAVE_SSL_CTX_set1_param)
|
||||
CHECK_FUNCTION_EXISTS(SSL_set_info_callback LWS_HAVE_SSL_SET_INFO_CALLBACK)
|
||||
CHECK_FUNCTION_EXISTS(X509_VERIFY_PARAM_set1_host LWS_HAVE_X509_VERIFY_PARAM_set1_host)
|
||||
|
|
Loading…
Add table
Reference in a new issue