[FindPython3] Unable to pass Python3_LIBRARY_<CONFIG> or Python3_LIBRARIES via CMake
the find module seems to simply ignore these.
Would be nice if it did not do that or not use _Python3_LIBRARY_RELEASE
as a hint for _Python3_LIBRARY_DEBUG
and do a search with NO_DEFAULT_PATH
on windows. The current behavior is not detecting the debug python library within VCPKG.
https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindPython/Support.cmake#L2598
find_library (_${_PYTHON_PREFIX}_LIBRARY_DEBUG
NAMES ${_${_PYTHON_PREFIX}_LIB_NAMES_DEBUG}
NAMES_PER_DIR
HINTS "${_${_PYTHON_PREFIX}_PATH}" ${_${_PYTHON_PREFIX}_HINTS}
NO_DEFAULT_PATH)
vtk/vtk#17898 (comment 758051)
https://github.com/microsoft/vcpkg/pull/9960#discussion_r425311769