We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f63ccee commit 2311531Copy full SHA for 2311531
CMakeLists.txt
@@ -27,8 +27,7 @@ endif()
27
28
# Try to import all Python components potentially needed by nanobind
29
find_package(Python 3.8
30
- REQUIRED COMPONENTS Interpreter Development.Module
31
- OPTIONAL_COMPONENTS Development.SABIModule)
+ REQUIRED COMPONENTS Interpreter Development.Module ${SKBUILD_SABI_COMPONENT})
32
33
# Import nanobind through CMake's find_package mechanism
34
find_package(nanobind CONFIG REQUIRED)
0 commit comments