mirror of
https://github.com/openharmony/third_party_cmake.git
synced 2026-07-21 16:25:22 -04:00
7862db85d5
In commit b2e8785e83 (FindPython: reduces consumption of resources,
2020-02-10, v3.17.0-rc1~11^2) 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