Skip to content

Commit 2311531

Browse files
authored
Update CMakeLists.txt
1 parent f63ccee commit 2311531

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ endif()
2727

2828
# Try to import all Python components potentially needed by nanobind
2929
find_package(Python 3.8
30-
REQUIRED COMPONENTS Interpreter Development.Module
31-
OPTIONAL_COMPONENTS Development.SABIModule)
30+
REQUIRED COMPONENTS Interpreter Development.Module ${SKBUILD_SABI_COMPONENT})
3231

3332
# Import nanobind through CMake's find_package mechanism
3433
find_package(nanobind CONFIG REQUIRED)

0 commit comments

Comments
 (0)