mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
FindPython*: fix erroneous handling of virtual environments
fixes: #18408
This commit is contained in:
@@ -136,6 +136,12 @@ Hints
|
||||
|
||||
Value ``ONLY`` is not supported so ``FIRST`` will be used instead.
|
||||
|
||||
.. note::
|
||||
|
||||
If a Python virtual environment is configured, set variable
|
||||
``Python_FIND_REGISTRY`` (Windows) or ``CMAKE_FIND_FRAMEWORK`` (macOS) with
|
||||
value ``LAST`` or ``NEVER`` to select it preferably.
|
||||
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user