ECMGeneratePriFile uses KDE_INSTALL_USE_QT_SYS_PATH, which is initialized in KDEInstallDirs, to determine the mkspecs install dir
Details
Details
- Reviewers
apol kossebau - Commits
- R280:003f15910475: Include KDE* cmake macros first
Build 5.61 without setting CMAKE_INSTALL_PREFIX, pri file is installed in the right place
Diff Detail
Diff Detail
- Repository
- R280 Prison
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Even better would be to move this set of three to be the first macros to be included (after having found ECM), and include any other macros only after that:
include(KDEInstallDirs) include(KDECMakeSettings) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
Here, and in any projects using them.
Comment Actions
You might want to adapt the commit message/phab revision title perhaps, noting that those three includes should be done first, as they want to influence any other CMake code used by the project,