commit | 81beb2875270484e6c192529a53c48084f1a4197 | [log] [tgz] |
---|---|---|
author | Marc Chevrier <marc.chevrier@gmail.com> | Wed Apr 01 16:15:42 2020 +0200 |
committer | Brad King <brad.king@kitware.com> | Wed Apr 01 10:36:46 2020 -0400 |
tree | c1b571be1ddf32346c64a9e6f57a8038c4261bee | |
parent | b7d8c91822101ff9de07075e9b1f02e18c2725da [diff] |
FindPython: fix handling when FIND_VIRTUALENV == FIRST Fixes: #20525
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake index 67db4d3..50dd7ba 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake
@@ -953,7 +953,7 @@ if (_${_PYTHON_PREFIX}_EXECUTABLE) break() endif() - if (NOT _${_PYTHON_PREFIX}_FIND_VIRTUALENV STREQUAL "ONLY") + if (_${_PYTHON_PREFIX}_FIND_VIRTUALENV STREQUAL "ONLY") break() endif() endif()