mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 13:10: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
|
@ -217,7 +217,7 @@ if (MSVC)
|
|||
set(dll_module_exports_file "${CMAKE_CURRENT_BINARY_DIR}/api_dll.def")
|
||||
add_custom_command(OUTPUT "${dll_module_exports_file}"
|
||||
COMMAND
|
||||
"${PYTHON_EXECUTABLE}"
|
||||
"${Python3_EXECUTABLE}"
|
||||
"${PROJECT_SOURCE_DIR}/scripts/mk_def_file.py"
|
||||
"${dll_module_exports_file}"
|
||||
"libz3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue