Skip to content

Commit 05ecd61

Browse files
committed
chore: force reading CMake minimum version from CMakeLists.txt
This disables the fallback to `>=3.15` if CMakeLists.txt can't be parsed properly.
1 parent aa70fba commit 05ecd61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Homepage = "http://ninja-build.org/"
5252

5353
[tool.scikit-build]
5454
minimum-version = "build-system.requires"
55+
cmake.version = "CMakeLists.txt" # Force parsing version from CMakeLists.txt and disable fallback to '>=3.15'
5556
ninja.make-fallback = true
5657
build-dir = "build/{wheel_tag}"
5758
wheel.py-api = "py3"

0 commit comments

Comments
 (0)