We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8816486 commit c377703Copy full SHA for c377703
CMakeLists.txt
@@ -24,6 +24,10 @@ FetchContent_Declare(
24
GIT_REPOSITORY https://github.com/pybind/pybind11.git
25
GIT_TAG v2.11.1
26
)
27
+# TODO: Revisit once we get a new pybind11 release
28
+if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.27)
29
+ set(PYBIND11_FINDPYTHON ON)
30
+endif()
31
FetchContent_MakeAvailable(pybind11-src)
32
endif()
33
0 commit comments