From 7ed84b1e8fc9a5bb7a7fe0b0b1a6077b2498d6c7 Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Sat, 3 Aug 2019 16:24:20 +0200 Subject: FindPython: ensure virtual environments are correctly handled Fixes: #19525 --- Modules/FindPython2.cmake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Modules/FindPython2.cmake') diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake index 8372ce74f4..82878ea964 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 ^^^^^^^^ -- cgit v1.2.1