mirror of
https://github.com/curl/curl.git
synced 2026-04-30 20:27:52 +03:00
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
This commit is contained in:
parent
d58b6009df
commit
7c021fd14a
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue