Closed ZHOUYue67 closed 4 years ago
At least for shiboken2 v5.13.0, cmake file set target Shiboken2::shiboken2, not variable SHIBOKEN_BINARY any more.
shiboken2
Shiboken2::shiboken2
SHIBOKEN_BINARY
In shiboken_helper.cmake, we should detect and then choose to use ${SHIBOKEN_BINARY} or Shiboken2::shiboken2 correspondingly.
shiboken_helper.cmake
${SHIBOKEN_BINARY}
Workaround for users with this issue: change ${SHIBOKEN_BINARY} to Shiboken2::shiboken2 in shiboken_helper.cmake.
Please consider to contribute a pull request to address this.
@dirk-thomas Is the MR #77 okay? It should fix the issue and be compatible with older Shiboken versions.
At least for
shiboken2
v5.13.0, cmake file set targetShiboken2::shiboken2
, not variableSHIBOKEN_BINARY
any more.In
shiboken_helper.cmake
, we should detect and then choose to use${SHIBOKEN_BINARY}
orShiboken2::shiboken2
correspondingly.Workaround for users with this issue: change
${SHIBOKEN_BINARY}
toShiboken2::shiboken2
inshiboken_helper.cmake
.