We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da622fd commit 3ceb5edCopy full SHA for 3ceb5ed
CMakeLists.txt
@@ -422,12 +422,9 @@ endif()
422
file(MAKE_DIRECTORY ${ZMQ_BACKEND_DEST})
423
424
if(NOT "${SKBUILD_SABI_COMPONENT}" STREQUAL "")
425
- # set stable API
426
- # assume we are targeting >= current Python version
427
- # this isn't required, but we can't seem to get `wheel.py-api`
428
- # see https://github.com/scikit-build/scikit-build-core/issues/958
429
- set(SABI_ARG "USE_SABI;${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}")
430
- message(STATUS "Building with stable API ${SABI_ARG} for ${Python_SOABI}")
+ # set stable ABI
+ set(SABI_ARG "USE_SABI;${SKBUILD_SABI_VERSION}")
+ message(STATUS "Building with stable ABI ${SABI_ARG} for ${Python_SOABI}")
431
endif()
432
433
python_add_library(
0 commit comments