mirror of
https://github.com/MariaDB/server.git
synced 2025-03-26 08:58:40 +01:00
Support -DCONC_WITH_SSL parameter passed to CMake
Usually it is not needed, but sometimes we need to testing interoperability, e.g OpenSSL server / SCHANNEL client, or WolfSSL server / OpenSSL client.
This commit is contained in:
parent
d1713666b0
commit
b619be3569
1 changed files with 9 additions and 7 deletions
|
@ -8,15 +8,17 @@ SET(CONC_WITH_SIGNCODE ${SIGNCODE})
|
|||
SET(SIGN_OPTIONS ${SIGNTOOL_PARAMETERS})
|
||||
SET(CONC_WITH_EXTERNAL_ZLIB ON)
|
||||
|
||||
IF(SSL_DEFINES MATCHES "WOLFSSL")
|
||||
IF(WIN32)
|
||||
SET(CONC_WITH_SSL "SCHANNEL")
|
||||
IF(NOT CONC_WITH_SSL)
|
||||
IF(SSL_DEFINES MATCHES "WOLFSSL")
|
||||
IF(WIN32)
|
||||
SET(CONC_WITH_SSL "SCHANNEL")
|
||||
ELSE()
|
||||
SET(CONC_WITH_SSL "GNUTLS") # that's what debian wants, right?
|
||||
ENDIF()
|
||||
ELSE()
|
||||
SET(CONC_WITH_SSL "GNUTLS") # that's what debian wants, right?
|
||||
SET(CONC_WITH_SSL "OPENSSL")
|
||||
SET(OPENSSL_FOUND TRUE)
|
||||
ENDIF()
|
||||
ELSE()
|
||||
SET(CONC_WITH_SSL "OPENSSL")
|
||||
SET(OPENSSL_FOUND TRUE)
|
||||
ENDIF()
|
||||
|
||||
SET(CONC_WITH_CURL OFF)
|
||||
|
|
Loading…
Add table
Reference in a new issue