Skip to content
Snippets Groups Projects
Commit 0d6a7fa8 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Nicolas Jager
Browse files

fix Ring dbus-xml interfaces path auto-discovery


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: default avatarNicolas Jäger <nicolas.jager@savoirfairelinux.com>
parent ba3037a8
Branches
No related tags found
No related merge requests found
...@@ -212,9 +212,11 @@ IF(DEFINED RING_XML_INTERFACES_DIR) ...@@ -212,9 +212,11 @@ IF(DEFINED RING_XML_INTERFACES_DIR)
ELSEIF(EXISTS "${RING_BUILD_DIR}/../bin/dbus") ELSEIF(EXISTS "${RING_BUILD_DIR}/../bin/dbus")
SET (dbus_xml_introspecs_path ${RING_BUILD_DIR}/../bin/dbus) SET (dbus_xml_introspecs_path ${RING_BUILD_DIR}/../bin/dbus)
ELSE() 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() ENDIF()
MESSAGE(STATUS "Using Ring DBus-XML interfaces in ${dbus_xml_introspecs_path}")
#File to compile #File to compile
SET( libringclient_LIB_SRCS SET( libringclient_LIB_SRCS
#Data objects #Data objects
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment