summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2023-04-11 13:35:04 +0200
committerPanu Matilainen <pmatilai@redhat.com>2023-04-11 15:49:44 +0300
commit2080896ce522c93a95697f72a5830958bb6dbafb (patch)
treeec15adb0a740de7e3daa6bd9af60ee6591a76f48
parent909d237b5eddfbc43051f75d8f96688448026496 (diff)
downloadrpm-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.txt4
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)