It's especially when KDE_INSTALL_USE_QT_SYS_PATHS=OFF that the different environment variables will have to be initialised.
This adds a message that should tell users about the script so they have a hint of what is going on.
Details
Details
- Reviewers
albertvaka krop - Group Reviewers
Frameworks - Commits
- R240:685959c3fa78: Notify users when not using KDE_INSTALL_USE_QT_SYS_PATHS about prefix.sh
Diff Detail
Diff Detail
- Repository
- R240 Extra CMake Modules
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 14199 Build 14217: arc lint + arc unit
kde-modules/KDEInstallDirs.cmake | ||
---|---|---|
721 | Installing in ${CMAKE_INSTALL_PREFIX}. You will need to run ./prefix.sh to set the environment for this app. ? |
kde-modules/KDEInstallDirs.cmake | ||
---|---|---|
721 ↗ | (On Diff #62110) | 'NOTICE' doesn't exist in CMake < 3.15. |
Comment Actions
KDE_INSTALL_USE_QT_SYS_PATHS has no effect on XDG_CONFIG_DIRS and XDG_DATA_DIRS or even the binary installation dir.
Running prefix.sh is useful even if KDE_INSTALL_USE_QT_SYS_PATHS is true.
Comment Actions
We can iterate the message too, it's a bit harder to detect if XDG_CONFIG/DATA_DIRS are wrong.