Skip to content

Commit f0e38ef

Browse files
committed
WIP: try native pybind11 SO computation
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 3fb21c4 commit f0e38ef

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
@@ -5,7 +5,7 @@ project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION})
55
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)
66
find_package(pybind11 CONFIG REQUIRED)
77

8-
python_add_library(_core MODULE src/main.cpp WITH_SOABI)
8+
pybind11_add_module(_core MODULE src/main.cpp)
99
target_link_libraries(_core PRIVATE pybind11::headers)
1010
target_compile_definitions(_core PRIVATE VERSION_INFO=${PROJECT_VERSION})
1111

0 commit comments

Comments
 (0)