Skip to content

FindPython: fix regression on version validation

Marc Chevrier requested to merge marc.chevrier/cmake:release-bugfixes into master

In !4338 (merged) we accidentally broke the python executable version validation when the "LOCATION" strategy is used with the plain FindPython module. Fix the logic and add test cases covering those combinations.

Fixes: #20465 (closed)
Backport: release
Topic-rename: FindPython-version-validation-fix

Edited by Brad King

Merge request reports