diff options
author | Brad King <brad.king@kitware.com> | 2020-04-02 15:12:42 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-02 15:12:54 (GMT) |
commit | 35d9ca268ba05aacbe46a4e7317810fb28605115 (patch) | |
tree | 5539b0b02f61a938c578a29deaccddc43df7d498 /Modules | |
parent | af138785e2c7e8b94f00d039dde6bad9900d1099 (diff) | |
parent | 81beb2875270484e6c192529a53c48084f1a4197 (diff) | |
download | CMake-35d9ca268ba05aacbe46a4e7317810fb28605115.zip CMake-35d9ca268ba05aacbe46a4e7317810fb28605115.tar.gz CMake-35d9ca268ba05aacbe46a4e7317810fb28605115.tar.bz2 |
Merge topic 'FindPython-fix-VIRTUALENV-eq-FIRST'
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 68be3f9..5467b77 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -1046,7 +1046,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() |