diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-09-21 19:31:43 +0200 |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-09-30 14:30:23 +0200 |
commit | e4b7049230afabd7f2cc0186f26176b103682100 (patch) | |
tree | 57c99c4d31e0a903df80701e7526e728db1697db /Modules/FindPython2.cmake | |
parent | f002c1cfc7f66edb9c9821524671574c23f92cd2 (diff) | |
download | cmake-e4b7049230afabd7f2cc0186f26176b103682100.tar.gz |
FindPython: Add version range support
Fixes: #21107
Diffstat (limited to 'Modules/FindPython2.cmake')
-rw-r--r-- | Modules/FindPython2.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake index 1c750116a5..97e376de2c 100644 --- a/Modules/FindPython2.cmake +++ b/Modules/FindPython2.cmake @@ -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 |