FindPython: Add version range support

Fixes: #21107
This commit is contained in:
Marc Chevrier
2020-09-21 19:31:43 +02:00
parent f002c1cfc7
commit e4b7049230
7 changed files with 491 additions and 142 deletions

View File

@@ -10,6 +10,10 @@ FindPython2
Find Python 2 interpreter, compiler and development environment (include
directories and libraries).
When a version is requested, it can be specified as a simple value or as a
range. For a detailed description of version range usage and capabilities,
refer to the :command:`find_package` command.
The following components are supported:
* ``Interpreter``: search for Python 2 interpreter