From a44699c262d70691bdce2c34c6af9972c7b45612 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 26 May 2015 21:22:32 +0100 Subject: [PATCH 3/3] Use /var & /etc, relative DBUS_INSTALL_DIR in cmake. Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ --- cmake/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index bcf18b8..e072dfa 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -86,12 +86,13 @@ set(EXPANDED_LIBDIR ${DBUS_INSTALL_DIR}/lib) set(EXPANDED_INCLUDEDIR ${DBUS_INSTALL_DIR}/include) set(EXPANDED_BINDIR ${DBUS_INSTALL_DIR}/bin) set(EXPANDED_SYSCONFDIR ${DBUS_INSTALL_DIR}/etc) +set(EXPANDED_LOCALSTATEDIR ${DBUS_INSTALL_DIR}/var) set(EXPANDED_DATADIR ${DBUS_INSTALL_DIR}/${DBUS_DATADIR}) set(DBUS_MACHINE_UUID_FILE ${DBUS_INSTALL_DIR}/lib/dbus/machine-id) set(DBUS_BINDIR ${EXPANDED_BINDIR}) set(DBUS_DAEMONDIR ${EXPANDED_BINDIR}) -set(DBUS_LOCALSTATEDIR /var) -set(DBUS_SYSCONFDIR /etc) +set(DBUS_LOCALSTATEDIR ${EXPANDED_LOCALSTATEDIR}) +set(DBUS_SYSCONFDIR ${EXPANDED_SYSCONFDIR}) set(DBUS_LIBEXECDIR ${EXPANDED_LIBDIR}) set(DBUS_DATADIR ${EXPANDED_DATADIR}) -- 2.1.4