diff options
author | Brad King <brad.king@kitware.com> | 2020-04-01 10:38:31 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-01 10:38:31 -0400 |
commit | 3f1cd5518051fab01976a3340d5ec507e3ab06ae (patch) | |
tree | c9c843141c0185722c44558ce9518b11ffd36ce1 /Modules | |
parent | 9fce97939cfdc267bf2bffcbe1e874be7677356a (diff) | |
parent | 81beb2875270484e6c192529a53c48084f1a4197 (diff) | |
download | cmake-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.cmake | 2 |
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() |