diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2019-08-03 14:24:20 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2019-08-05 16:20:29 (GMT) |
commit | 7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7 (patch) | |
tree | cc94fc19e38af24097867cb52f2f7ce3aa391c5f /Modules/FindPython2.cmake | |
parent | 2a5d077a89ea3ef08409e4d3e043ae78c9d8132d (diff) | |
download | CMake-7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7.zip CMake-7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7.tar.gz CMake-7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7.tar.bz2 |
FindPython: ensure virtual environments are correctly handled
Fixes: #19525
Diffstat (limited to 'Modules/FindPython2.cmake')
-rw-r--r-- | Modules/FindPython2.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake index 8372ce7..82878ea 100644 --- a/Modules/FindPython2.cmake +++ b/Modules/FindPython2.cmake @@ -193,6 +193,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 ^^^^^^^^ |