summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-02 15:12:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-02 15:12:54 (GMT)
commit35d9ca268ba05aacbe46a4e7317810fb28605115 (patch)
tree5539b0b02f61a938c578a29deaccddc43df7d498 /Modules
parentaf138785e2c7e8b94f00d039dde6bad9900d1099 (diff)
parent81beb2875270484e6c192529a53c48084f1a4197 (diff)
downloadCMake-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.cmake2
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()