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 3fb21c4 commit f0e38efCopy full SHA for f0e38ef
CMakeLists.txt
@@ -5,7 +5,7 @@ project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION})
5
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)
6
find_package(pybind11 CONFIG REQUIRED)
7
8
-python_add_library(_core MODULE src/main.cpp WITH_SOABI)
+pybind11_add_module(_core MODULE src/main.cpp)
9
target_link_libraries(_core PRIVATE pybind11::headers)
10
target_compile_definitions(_core PRIVATE VERSION_INFO=${PROJECT_VERSION})
11
0 commit comments