From: Viktor Szakats Date: Wed, 8 Oct 2025 19:40:07 +0000 (+0200) Subject: cmake: minor Heimdal flavour detection fix X-Git-Tag: rc-8_17_0-3~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c021fd14af3a4558bab8cb256abac77ac6148de;p=thirdparty%2Fcurl.git cmake: minor Heimdal flavour detection fix Do not detect Heimdal if a single `H` character appears in the vendor string, require the full name: `Heimdal`. Cherry-picked from #18932 Closes #18951 --- diff --git a/CMake/FindGSS.cmake b/CMake/FindGSS.cmake index aa640c3342..398e38aa98 100644 --- a/CMake/FindGSS.cmake +++ b/CMake/FindGSS.cmake @@ -164,7 +164,7 @@ if(NOT _gss_FOUND) # Not found by pkg-config. Let us take more traditional appr if(_gss_configure_failed) set(GSS_FLAVOUR "Heimdal") # most probably, should not really matter else() - if(_gss_vendor MATCHES "H|heimdal") + if(_gss_vendor MATCHES "Heimdal|heimdal") set(GSS_FLAVOUR "Heimdal") else() set(GSS_FLAVOUR "MIT")