Fix detection of proper OpenSSL and GnuTLS libraries
Until mainline support of QUIC are present in OpenSSL and GnuTLS, be sure to test whether the found library versions are the patched ones since the version number check is insufficient. This fixes the default build on a system where a new GnuTLS is present without the patches from the GnuTLS tmp-quic branch. Add new ENABLE_OPENSSL and ENABLE_GNUTLS CMake options to allow explicitly disabling these libraries to mirror the --without-openssl and the --without-gnutls functionality of autotools. Partially addresses https://github.com/ngtcp2/ngtcp2/issues/238
Showing
- .travis.yml 2 additions, 2 deletions.travis.yml
- CMakeLists.txt 32 additions, 13 deletionsCMakeLists.txt
- CMakeOptions.txt 4 additions, 1 deletionCMakeOptions.txt
- configure.ac 14 additions, 0 deletionsconfigure.ac
- crypto/CMakeLists.txt 4 additions, 4 deletionscrypto/CMakeLists.txt
- crypto/includes/CMakeLists.txt 1 addition, 1 deletioncrypto/includes/CMakeLists.txt
- examples/CMakeLists.txt 1 addition, 1 deletionexamples/CMakeLists.txt
Please register or sign in to comment