Diffusion KI18n 6c1db934e648

Don't call PythonInterp.cmake in KF5I18NMacros.

Authored by krop on Mar 9 2018, 11:27 AM.

Description

Don't call PythonInterp.cmake in KF5I18NMacros.

Summary:
Due to CMake caching the variables, anything depending on ki18n would be
unable to call find_package(PythonInterp) with a specific version.

Instead we just hardcode the python executable path.

Test Plan:

  • Downloaded, installed a tarball with translations.
  • The python2 backend in cantor doesn't claim python 2.7 was found if it's not true.

Subscribers: Build System, Frameworks

Tags: Frameworks, Build System

Differential Revision: https://phabricator.kde.org/D11176

Details

Committed
kropMar 27 2018, 1:54 PM
Differential Revision
D11176: Don't call PythonInterp.cmake in KF5I18NMacros.
Parents
R249:1384746941d1: GIT_SILENT Upgrade Qt5 version requirement to 5.8.0.
Branches
Unknown
Tags
Unknown