3
0
Fork 0
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:
Michał Górny 2025-01-21 23:39:19 +01:00 committed by GitHub
parent 45ff1f4df3
commit fc9ff946b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,3 @@
[build-system]
requires = ["setuptools>=70", "cmake"]
requires = ["setuptools>=70"]
build-backend = "setuptools.build_meta"