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 b5dd940 commit 95b6795Copy full SHA for 95b6795
CMakeLists.txt
@@ -8,7 +8,7 @@ project(
8
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)
9
find_package(pybind11 CONFIG REQUIRED)
10
11
-python_add_library(_core MODULE src/main.cpp WITH_SOABI)
+pybind11_add_module(_core MODULE src/main.cpp)
12
target_link_libraries(_core PRIVATE pybind11::headers)
13
target_compile_definitions(_core PRIVATE VERSION_INFO=${PROJECT_VERSION})
14
0 commit comments