cgiboudeaux added a comment.
Disclaimer: I'm not really happy with this solution. The alternative is to call find_program(KI18N_PYTHON_EXECUTABLE) with a list of known names (python3.7 python3.6 python2.7 ...) and remove the find_package(PythonInterp) line. REPOSITORY R249 KI18n REVISION DETAIL https://phabricator.kde.org/D11176 To: cgiboudeaux Cc: #build_system, #frameworks, michaelh