kfunk added a comment.
In https://phabricator.kde.org/D9423#181460, @habacker wrote: > In https://phabricator.kde.org/D9423#181442, @kfunk wrote: > > > And I agree. There shouldn't be a need to use two different input files. That's the whole point of `configure_file(...)`: the interpolation of values happens *inside* the input files. > > > This would be possible by using in the service file something like this > > [D-BUS Service] > Name=org.kde.kiod5 > Exec=@SOME_PREFIX@kiod5 Sounds good. In the top-level CMakeLists.txt maybe: if(WIN32) set(DBUS_LIBEXECDIR) else() set(DBUS_LIBEXECDIR ${KDE_INSTALL_FULL_LIBEXECDIR}/kf5/) endif() ... and then use that everywhere needed. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D9423 To: habacker, dfaure, bcooksley, kfunk Cc: kfunk, broulik, #frameworks