Skip to content

Commit

Permalink
BUG: Fix Py_LIMITED_API minor version spec
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Apr 15, 2024
1 parent 527fc16 commit 8b47787
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 8b47787

Please sign in to comment.