mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 06:09:52 -06:00
FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user