Skip to content

Commit 6a3ca2d

Browse files
committed
fix(cmake): hide a warning when building the tests standalone
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 613fb0f commit 6a3ca2d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ name = "pybind11_tests"
1010
version = "0.0.1"
1111
dependencies = ["pytest", "pytest-timeout", "numpy", "scipy"]
1212

13+
[tool.scikit-build]
14+
# Hide a warning while we also support CMake < 3.15
15+
cmake.version = ">=3.15"
16+
1317
[tool.scikit-build.cmake.define]
1418
PYBIND11_FINDPYTHON = true
1519

0 commit comments

Comments
 (0)