mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 01:02:15 +00:00
cmake: Use FindPython3
. (#7019)
`FindPythonInterp` has been deprecated for a long time and is more verbal about that deprecation now. The build system no longer uses `PYTHON_EXECUTABLE` but instead uses `Python3_EXECUTABLE`.
This commit is contained in:
parent
b5e8f59eae
commit
9d1ceab1f2
10 changed files with 18 additions and 18 deletions
|
@ -153,8 +153,8 @@ list(APPEND Z3_COMPONENT_CXX_DEFINES $<$<CONFIG:RelWithDebInfo>:_EXTERNAL_RELEAS
|
|||
################################################################################
|
||||
# Find Python
|
||||
################################################################################
|
||||
find_package(PythonInterp 3 REQUIRED)
|
||||
message(STATUS "PYTHON_EXECUTABLE: ${PYTHON_EXECUTABLE}")
|
||||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
||||
message(STATUS "Python3_EXECUTABLE: ${Python3_EXECUTABLE}")
|
||||
|
||||
################################################################################
|
||||
# Target architecture detection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue