summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-08-03 14:24:20 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2019-08-05 16:20:29 (GMT)
commit7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7 (patch)
treecc94fc19e38af24097867cb52f2f7ce3aa391c5f /Modules/FindPython.cmake
parent2a5d077a89ea3ef08409e4d3e043ae78c9d8132d (diff)
downloadCMake-7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7.zip
CMake-7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7.tar.gz
CMake-7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7.tar.bz2
FindPython: ensure virtual environments are correctly handled
Fixes: #19525
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r--Modules/FindPython.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake
index 6a9decb..2056e93 100644
--- a/Modules/FindPython.cmake
+++ b/Modules/FindPython.cmake
@@ -237,6 +237,12 @@ Hints
``NEVER`` to select preferably the interpreter from the virtual
environment.
+ .. note::
+
+ If the component ``Development`` is requested, it is **strongly**
+ recommended to also include the component ``Interpreter`` to get expected
+ result.
+
Commands
^^^^^^^^