From 0d6a7fa886ac7c5a3dde26b24a14531d055c6918 Mon Sep 17 00:00:00 2001 From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> Date: Tue, 12 Sep 2017 12:15:31 -0400 Subject: [PATCH] fix Ring dbus-xml interfaces path auto-discovery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If LRC is build with a CMAKE_INSTALL_PREFIX equivalent to where the daemon is installed, the build fails, without indicating where the daemon has been installed. This is due to incorrect given path (was api, should be interface ) Change-Id: Iab2e2118ae4a82edc0ad386bbe72048bd9a94538 Reviewed-by: Nicolas Jäger <nicolas.jager@savoirfairelinux.com> --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 81d89a18..5a3ff7ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,9 +212,11 @@ IF(DEFINED RING_XML_INTERFACES_DIR) ELSEIF(EXISTS "${RING_BUILD_DIR}/../bin/dbus") SET (dbus_xml_introspecs_path ${RING_BUILD_DIR}/../bin/dbus) ELSE() - SET (dbus_xml_introspecs_path ${CMAKE_INSTALL_PREFIX}/share/dbus-1/api) + SET (dbus_xml_introspecs_path ${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces) ENDIF() +MESSAGE(STATUS "Using Ring DBus-XML interfaces in ${dbus_xml_introspecs_path}") + #File to compile SET( libringclient_LIB_SRCS #Data objects -- GitLab