summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython3.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-05-28 15:51:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-05-28 15:53:21 (GMT)
commitf326591c1369680541311eabe8d3eae6d1bce293 (patch)
treeb36136befbc5908daf463f07db65466a270920ea /Modules/FindPython3.cmake
parent76cb43c7c5515e0ca8c1858311a54954fbc39870 (diff)
parent62d6ed79fb4cc4cdeb1a246f0f12db7e6031f4ba (diff)
downloadCMake-f326591c1369680541311eabe8d3eae6d1bce293.zip
CMake-f326591c1369680541311eabe8d3eae6d1bce293.tar.gz
CMake-f326591c1369680541311eabe8d3eae6d1bce293.tar.bz2
Merge topic 'FindPython-find_framework'
62d6ed79fb FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3374
Diffstat (limited to 'Modules/FindPython3.cmake')
-rw-r--r--Modules/FindPython3.cmake9
1 files changed, 7 insertions, 2 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake
index 2867326..2ead5b6 100644
--- a/Modules/FindPython3.cmake
+++ b/Modules/FindPython3.cmake
@@ -162,14 +162,19 @@ Hints
* ``LAST``: Try to use registry after environment variables.
* ``NEVER``: Never try to use registry.
-``CMAKE_FIND_FRAMEWORK``
- On macOS the :variable:`CMAKE_FIND_FRAMEWORK` variable determine the order of
+``Python3_FIND_FRAMEWORK``
+ On macOS the ``Python3_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.
.. note::
Value ``ONLY`` is not supported so ``FIRST`` will be used instead.
+ If ``Python3_FIND_FRAMEWORK`` is not defined, :variable:`CMAKE_FIND_FRAMEWORK`
+ variable will be used, if any.
+
``Python3_FIND_VIRTUALENV``
This variable defines the handling of virtual environments. It is meaningfull
only when a virtual environment is active (i.e. the ``activate`` script has