← Commit list

3806fd914b

Viktor Szakats
Viktor Szakats
2025-11-04
SUCCESS Duration: 140s

Subject

cmake: fix `HAVE_GNUTLS_SRP` detection after adding local FindGnuTLS module

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

CMakeLists.txt+1 -0
@@ -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()