summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-02 15:12:42 +0000
committerKitware Robot <kwrobot@kitware.com>2020-04-02 11:12:54 -0400
commitd26f15dfce5158b1b60a677c81d3d4b472486b8d (patch)
tree65e31f3c6d95a27d7b593268595de0eced170758 /Modules
parentd68794a7076b833e82577423e2e7cf1f857ac5f3 (diff)
parent81beb2875270484e6c192529a53c48084f1a4197 (diff)
downloadcmake-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.cmake2
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()