mirror of
https://github.com/Z3Prover/z3
synced 2025-10-25 00:44:36 +00:00
use cmake from PyPI only when system executable is not available (#7514)
Rather than pulling `cmake` from PyPI unconditionally, add it to build dependencies only if the system `cmake` executable cannot be found. This eliminates an unnecessary dependency on systems featuring CMake, and ensures that whenever possible, a downstream patched CMake version is used that is more compatible with the system in question.
This commit is contained in:
parent
45ff1f4df3
commit
fc9ff946b7
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=70", "cmake"]
|
||||
requires = ["setuptools>=70"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue