diff options
author | Florian Festi <ffesti@redhat.com> | 2023-04-11 13:35:04 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2023-04-11 15:49:44 +0300 |
commit | 2080896ce522c93a95697f72a5830958bb6dbafb (patch) | |
tree | ec15adb0a740de7e3daa6bd9af60ee6591a76f48 | |
parent | 909d237b5eddfbc43051f75d8f96688448026496 (diff) | |
download | rpm-2080896ce522c93a95697f72a5830958bb6dbafb.tar.gz |
Install /etc/dbus-1/system.d/org.rpm.conf
which was accidentially dropped when converting to cmake
Use CMAKE_INSTALL_FULL_SYSCONFDIR as it expands to /etc instead of
/usr/etc
Resolves: #2474
-rw-r--r-- | plugins/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index c222b84b6..6768378f9 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -12,6 +12,10 @@ if(WITH_DBUS) target_link_libraries(systemd_inhibit PRIVATE PkgConfig::DBUS) add_library(dbus_announce MODULE dbus_announce.c) target_link_libraries(dbus_announce PRIVATE PkgConfig::DBUS) + install(FILES + org.rpm.conf + DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/dbus-1/system.d/ + ) endif() if(WITH_IMAEVM) |