cmake: fix `HAVE_GNUTLS_SRP` detection after adding local FindGnuTLS module
No binary (build failed)
—
(log yok)
| @@ -933,6 +933,7 @@ if(CURL_USE_GNUTLS) | |
| cmake_push_check_state() | |
| list(APPEND CMAKE_REQUIRED_INCLUDES "${GNUTLS_INCLUDE_DIRS}") | |
| list(APPEND CMAKE_REQUIRED_LIBRARIES "${GNUTLS_LIBRARIES}") | |
| + | curl_required_libpaths("${GNUTLS_LIBRARY_DIRS}") |
| check_symbol_exists("gnutls_srp_verifier" "gnutls/gnutls.h" HAVE_GNUTLS_SRP) | |
| cmake_pop_check_state() | |
| endif() | |