diff options
author | Brad King <brad.king@kitware.com> | 2020-04-02 15:12:42 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-02 11:12:54 -0400 |
commit | d26f15dfce5158b1b60a677c81d3d4b472486b8d (patch) | |
tree | 65e31f3c6d95a27d7b593268595de0eced170758 /Modules | |
parent | d68794a7076b833e82577423e2e7cf1f857ac5f3 (diff) | |
parent | 81beb2875270484e6c192529a53c48084f1a4197 (diff) | |
download | cmake-d26f15dfce5158b1b60a677c81d3d4b472486b8d.tar.gz |
Merge topic 'FindPython-fix-VIRTUALENV-eq-FIRST' into release-3.17
81beb28752 FindPython: fix handling when FIND_VIRTUALENV == FIRST
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4557
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPython/Support.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake index 8448bf5708..6bd10b3ba0 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -1036,7 +1036,7 @@ if ("Interpreter" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS) if (_${_PYTHON_PREFIX}_EXECUTABLE) break() endif() - if (NOT _${_PYTHON_PREFIX}_FIND_VIRTUALENV STREQUAL "ONLY") + if (_${_PYTHON_PREFIX}_FIND_VIRTUALENV STREQUAL "ONLY") break() endif() endif() |