summaryrefslogtreecommitdiff
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-08-03 16:24:20 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2019-08-05 18:20:29 +0200
commit7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7 (patch)
treecc94fc19e38af24097867cb52f2f7ce3aa391c5f /Modules/FindPython.cmake
parent2a5d077a89ea3ef08409e4d3e043ae78c9d8132d (diff)
downloadcmake-7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7.tar.gz
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 6a9decbf23..2056e93ff5 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
^^^^^^^^