Skip to content

Commit e11847f

Browse files
committed
Add explicit version range
1 parent 1eb4594 commit e11847f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ endif()
7979
include(GNUInstallDirs)
8080

8181
# find Python before enabling pybind11
82-
find_package(Python REQUIRED COMPONENTS Development.Module NumPy)
82+
find_package(Python 3.10...<3.15 REQUIRED COMPONENTS Development.Module NumPy)
8383

8484
# Fetch pybind11
8585
include(FetchContent)

0 commit comments

Comments
 (0)