Explorar o código

Merge topic 'FindPython-fix-VIRTUALENV-eq-FIRST' into release-3.17

81beb28752 FindPython: fix handling when FIND_VIRTUALENV == FIRST

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4557
Brad King %!s(int64=5) %!d(string=hai) anos
pai
achega
d26f15dfce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Modules/FindPython/Support.cmake

+ 1 - 1
Modules/FindPython/Support.cmake

@@ -1036,7 +1036,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()