Change #271515
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Wed 17 Jun 2026 18:04:44 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 6db0ba2a381648a27e90dd9151ea2c255f869534 |
Comments
cmake/FindGSS: drop "MIT Unknown" version value, related tidy ups After this patch the `GSS_VERSION` value is left empty in all cases when there is known version number (potentially on Windows). Also: - sync `GSS_FOUND` comment with other Find modules. - sync `GSS_VERSION` comment with other Find modules, drop the promise of returning "unknown", which was not true and also not done by other Find modules. - tidy up Windows-registry-based MIT `GSS_VERSION` detection, by guarding the whole block for `WIN32`. - drop fallback version value `MIT Unknown` used for MIT. - fix vertical alignment in comment block. Changing CMake log output like so (in affected config): ``` -- Found GSS: MIT (found version "MIT Unknown") ``` -> ``` -- Found GSS: MIT ``` Spotted by Copilot Bug: https://github.com/curl/curl/pull/22052#discussion_r3429273238 Follow-up to 558814e16d84aa202c5ccc0c8108a9d728e77a58 Closes #22071
Changed files
- CMake/FindGSS.cmake