summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-01 10:38:31 -0400
committerBrad King <brad.king@kitware.com>2020-04-01 10:38:31 -0400
commit3f1cd5518051fab01976a3340d5ec507e3ab06ae (patch)
treec9c843141c0185722c44558ce9518b11ffd36ce1 /Modules
parent9fce97939cfdc267bf2bffcbe1e874be7677356a (diff)
parent81beb2875270484e6c192529a53c48084f1a4197 (diff)
downloadcmake-3f1cd5518051fab01976a3340d5ec507e3ab06ae.tar.gz
Merge branch 'FindPython-fix-VIRTUALENV-eq-FIRST' into release-3.16
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 67db4d381e..50dd7ba089 100644
--- a/Modules/FindPython/Support.cmake
+++ b/Modules/FindPython/Support.cmake
@@ -953,7 +953,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()