Skip to content

Commit

Permalink
Merge pull request #4589 from thewtex/py-limited-minor-version
Browse files Browse the repository at this point in the history
BUG: Fix Py_LIMITED_API minor version spec
  • Loading branch information
thewtex authored Apr 16, 2024
2 parents 527fc16 + 8b47787 commit 2082a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrapping/macro_files/itk_end_wrap_module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ ${DO_NOT_WAIT_FOR_THREADS_CALLS}

# Python Limited API / Stable ABI
if (ITK_USE_PYTHON_LIMITED_API)
target_compile_definitions(${lib} PUBLIC -DPy_LIMITED_API=0x03110000)
target_compile_definitions(${lib} PUBLIC -DPy_LIMITED_API=0x030b0000)
endif()
# Link the modules together
target_link_libraries(${lib} LINK_PUBLIC ${WRAPPER_LIBRARY_LINK_LIBRARIES})
Expand Down

0 comments on commit 2082a93

Please sign in to comment.