Like we have for other FD.O projects like DBus service files
Details
Details
Unit test passes
Used in another project, and it installed to the correct place
Diff Detail
Diff Detail
- Repository
- R240 Extra CMake Modules
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
AFAICT this breaks if LIBDIR != "lib". systemd only looks in /usr/lib AFAICT, so hardcoding to $prefix/lib/systemd might be better.
Comment Actions
Wow, this part of systemd is surprising :/
static const char* const user_data_unit_paths[] = {
"/usr/local/lib/systemd/user", "/usr/local/share/systemd/user", USER_DATA_UNIT_PATH, "/usr/lib/systemd/user", "/usr/share/systemd/user", NULL
};
well spotted, will adjust to ${CMAKE_INSTALL_PREFIX}/lib
kde-modules/KDEInstallDirs.cmake | ||
---|---|---|
137–140 | These fixme also need to be...fixed :) |
kde-modules/KDEInstallDirs.cmake | ||
---|---|---|
245 ↗ | (On Diff #69160) | IMO the iff here can stay |