mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

With the 10.x release, PostgreSQL upstream started encoding the version as `MMmmmm` where `M` is major and `m` is minor. Prior to that, `MMmmPP` was used where `P` was the patch number. Detect this difference and decode it based on the used encoding. Fixes: #19912