compile the new libgsasl with supportting three modes(privacy/integrity/authentication)

This commit is contained in:
Peng Liu 2022-06-04 23:30:38 +08:00
parent 48e662981c
commit 6de7590af4

View File

@ -113,4 +113,8 @@ if (TARGET ch_contrib::krb5)
target_compile_definitions(_gsasl PRIVATE HAVE_GSSAPI_H=1 USE_GSSAPI=1)
endif()
if (TARGET OpenSSL::SSL)
target_link_libraries(_gsasl PRIVATE OpenSSL::Crypto OpenSSL::SSL)
endif()
add_library(ch_contrib::gsasl ALIAS _gsasl)