Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.7.2
-
None
Description
Currently PY_LIMITED_API is propagated to downstream projects via ${PREFIX}/lib/cmake/Shiboken6/Shiboken6Targets.cmake:
set_target_properties(Shiboken6::libshiboken PROPERTIES INTERFACE_COMPILE_DEFINITIONS "Py_LIMITED_API=0x03060000;NDEBUG" INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/shiboken6" )
If there is no obvious reason for forcing downstream projects to use the PY_LIMITED_API please change this code sequence to not include the PY_LIMITED_API:
set_target_properties(Shiboken6::libshiboken PROPERTIES INTERFACE_COMPILE_DEFINITIONS "NDEBUG" INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/shiboken6" )