• Ralf Habacker's avatar
    cmake: add support for user session semantic on Linux operating systems · 927a5f4d
    Ralf Habacker authored
    Systemd user support is controlled by the cmake variable ENABLE_USER_SESSION,
    which and WITH_SYSTEMD_USERUNITDIR to specify a custom installation
    location. If WITH_SYSTEMD_USERUNITDIR is not specified, the related install
    path is determined from an installed systemd package, if present.
    This was added to the Autotools build system as part of fd.o#61301,
    but until now was not possible to enable when building with CMake.