mirror of
https://github.com/reactos/CMake.git
synced 2025-02-17 01:58:25 +00:00
FindPython: use CMAKE specific variables to look-up debug library
Fixes: #20714
This commit is contained in:
parent
6d9bc2d8cf
commit
e7b9f928f7
@ -2600,6 +2600,12 @@ if (("Development.Module" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS
|
||||
NAMES_PER_DIR
|
||||
HINTS "${_${_PYTHON_PREFIX}_PATH}" ${_${_PYTHON_PREFIX}_HINTS}
|
||||
NO_DEFAULT_PATH)
|
||||
# second try including CMAKE variables to catch-up non conventional layouts
|
||||
find_library (_${_PYTHON_PREFIX}_LIBRARY_DEBUG
|
||||
NAMES ${_${_PYTHON_PREFIX}_LIB_NAMES_DEBUG}
|
||||
NAMES_PER_DIR
|
||||
NO_SYSTEM_ENVIRONMENT_PATH
|
||||
NO_CMAKE_SYSTEM_PATH)
|
||||
endif()
|
||||
|
||||
# retrieve runtime libraries
|
||||
|
Loading…
x
Reference in New Issue
Block a user