Skip to content

Commit

Permalink
findpython fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Jun 3, 2022
1 parent 161c758 commit a5b9e30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
project(nanobind_example)
cmake_minimum_required(VERSION 3.17...3.22)
cmake_minimum_required(VERSION 3.18...3.22)

if (NOT SKBUILD)
message(WARNING "This CMake file should be executed via scikit-build. "
"Please run\n$ pip install .")
"Please run\n$ pip install .")
endif()

if (SKBUILD)
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
requires = [
"setuptools>=42",
"wheel",
"scikit-build",
"cmake>=3.17",
"nanobind>=0.0.2",
"scikit-build==0.14.0",
"cmake>=3.18",
"nanobind>=0.0.3",
"ninja; platform_system!='Windows'"
]

Expand Down

0 comments on commit a5b9e30

Please sign in to comment.