mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +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
|
@ -7,7 +7,7 @@ if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/database.h")
|
|||
endif()
|
||||
|
||||
add_custom_command(OUTPUT "database.h"
|
||||
COMMAND "${PYTHON_EXECUTABLE}"
|
||||
COMMAND "${Python3_EXECUTABLE}"
|
||||
"${PROJECT_SOURCE_DIR}/scripts/mk_pat_db.py"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/database.smt2"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/database.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue