mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
Merge 490dbfa2e8
into 66aa6a47bd
This commit is contained in:
commit
38e137496c
1 changed files with 6 additions and 0 deletions
|
@ -543,6 +543,12 @@ if(WERROR)
|
|||
unset(werror_flag)
|
||||
endif()
|
||||
|
||||
# Prefer Unix-style package components over frameworks on macOS.
|
||||
# This improves compatibility with Python version managers.
|
||||
set(Python3_FIND_FRAMEWORK LAST CACHE STRING "")
|
||||
# Search for generic names before more specialized ones. This
|
||||
# improves compatibility with Python version managers that use shims.
|
||||
set(Python3_FIND_UNVERSIONED_NAMES FIRST CACHE STRING "")
|
||||
find_package(Python3 3.10 COMPONENTS Interpreter)
|
||||
if(Python3_EXECUTABLE)
|
||||
set(PYTHON_COMMAND ${Python3_EXECUTABLE})
|
||||
|
|
Loading…
Add table
Reference in a new issue