arojas created this revision. arojas added reviewers: bruns, dfaure. Herald added projects: Frameworks, Build System. Herald added subscribers: kde-buildsystem, kde-frameworks-devel. arojas requested review of this revision.
REVISION SUMMARY When PyQt5 is compiled with SIP 5, the sip files are installed to ${python-site-packages}/PyQt5/bindings, so search for them there too. This doesn't add support for compiling KF5 bindings themselves with sip5, that requires more work. TEST PLAN Python bindings build with PyQt5 compiled with SIP 5 REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D25972 AFFECTED FILES find-modules/FindPythonModuleGeneration.cmake To: arojas, bruns, dfaure Cc: kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns