diff options
author | Brad King <brad.king@kitware.com> | 2020-04-02 15:12:42 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-02 11:12:54 -0400 |
commit | 35d9ca268ba05aacbe46a4e7317810fb28605115 (patch) | |
tree | 5539b0b02f61a938c578a29deaccddc43df7d498 /Modules/FindPython | |
parent | af138785e2c7e8b94f00d039dde6bad9900d1099 (diff) | |
parent | 81beb2875270484e6c192529a53c48084f1a4197 (diff) | |
download | cmake-35d9ca268ba05aacbe46a4e7317810fb28605115.tar.gz |
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/FindPython')
-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 68be3f98d0..5467b77149 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() |