mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
FindPython: ensure new Xcode framework for Python3 is detected
This commit is contained in:
parent
dd7b741b81
commit
fcde42751a
@ -62,6 +62,9 @@ macro (_PYTHON_FIND_FRAMEWORKS)
|
||||
${CMAKE_SYSTEM_FRAMEWORK_PATH})
|
||||
list (REMOVE_DUPLICATES _pff_frameworks)
|
||||
foreach (_pff_framework IN LISTS _pff_frameworks)
|
||||
if (EXISTS ${_pff_framework}/Python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR}.framework)
|
||||
list (APPEND ${_PYTHON_PREFIX}_FRAMEWORKS ${_pff_framework}/Python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR}.framework)
|
||||
endif()
|
||||
if (EXISTS ${_pff_framework}/Python.framework)
|
||||
list (APPEND ${_PYTHON_PREFIX}_FRAMEWORKS ${_pff_framework}/Python.framework)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user