diff options
author | Brad King <brad.king@kitware.com> | 2020-03-25 12:12:59 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-03-25 12:13:07 (GMT) |
commit | f2b45763731a6a276fbc72e2250d8accc51911bc (patch) | |
tree | c3bff8771c57d662ee0ec80fef04b18dea388892 /Modules/FindPython.cmake | |
parent | 69e495d10adeb7a9872f1698b60367e57e657fee (diff) | |
parent | bf1ecfef7f468432a853046492da19362e938af8 (diff) | |
download | CMake-f2b45763731a6a276fbc72e2250d8accc51911bc.zip CMake-f2b45763731a6a276fbc72e2250d8accc51911bc.tar.gz CMake-f2b45763731a6a276fbc72e2250d8accc51911bc.tar.bz2 |
Merge topic 'FindPython-polish'
bf1ecfef7f FindPython: misc. fixes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4519
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r-- | Modules/FindPython.cmake | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake index 6132693..018956b 100644 --- a/Modules/FindPython.cmake +++ b/Modules/FindPython.cmake @@ -191,8 +191,7 @@ Hints ``Python_FIND_STRATEGY`` This variable defines how lookup will be done. - The ``Python_FIND_STRATEGY`` variable can be set to empty or one of the - following: + The ``Python_FIND_STRATEGY`` variable can be set to one of the following: * ``VERSION``: Try to find the most recent version in all specified locations. @@ -205,8 +204,7 @@ Hints ``Python_FIND_REGISTRY`` On Windows the ``Python_FIND_REGISTRY`` variable determine the order of preference between registry and environment variables. - the ``Python_FIND_REGISTRY`` variable can be set to empty or one of the - following: + the ``Python_FIND_REGISTRY`` variable can be set to one of the following: * ``FIRST``: Try to use registry before environment variables. This is the default. @@ -216,8 +214,8 @@ Hints ``Python_FIND_FRAMEWORK`` On macOS the ``Python_FIND_FRAMEWORK`` variable determine the order of preference between Apple-style and unix-style package components. - This variable can be set to empty or take same values as - :variable:`CMAKE_FIND_FRAMEWORK` variable. + This variable can take same values as :variable:`CMAKE_FIND_FRAMEWORK` + variable. .. note:: @@ -231,8 +229,8 @@ Hints ``virtualenv`` or ``conda``. It is meaningful only when a virtual environment is active (i.e. the ``activate`` script has been evaluated). In this case, it takes precedence over ``Python_FIND_REGISTRY`` and ``CMAKE_FIND_FRAMEWORK`` - variables. The ``Python_FIND_VIRTUALENV`` variable can be set to empty or - one of the following: + variables. The ``Python_FIND_VIRTUALENV`` variable can be set to one of the + following: * ``FIRST``: The virtual environment is used before any other standard paths to look-up for the interpreter. This is the default. |