Browse Source

FindPython*: remove erroneous code

Marc Chevrier 6 years ago
parent
commit
4a871d51a3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Modules/FindPython/Support.cmake

+ 0 - 2
Modules/FindPython/Support.cmake

@@ -1315,8 +1315,6 @@ if ("Development" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS
                         HINTS ${_${_PYTHON_PREFIX}_HINTS}
                         PATHS ${__${_PYTHON_PREFIX}_REGISTRY_PATHS}
                         PATH_SUFFIXES lib libs)
-                    endif()
-                          if (${_PYTHON_PREFIX}_LIBRARY_RELEASE)
 
           # extract version from library name
           if (${_PYTHON_PREFIX}_LIBRARY_DEBUG MATCHES "python([23])([0-9]+)")