From ea5d724fe899e65933b5de33e2957c4cd33338e7 Mon Sep 17 00:00:00 2001 From: jacobkeeler Date: Tue, 30 Jan 2018 15:45:15 -0500 Subject: Fix DBus Build --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7730b57c2d..bc049a5a28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -374,6 +374,10 @@ if (HMIADAPTER STREQUAL "dbus") set(HMI_DBUS_API ON) add_definitions(-DDBUS_HMIADAPTER) add_definitions(-DHMI_DBUS_API) + + find_package(DBus REQUIRED) + set(DBUS_LIBS_DIRECTORY ${DBUS_LIBRARY_DIRS} PARENT_SCOPE) + message(${DBUS_INCLUDE_DIRS}) endif() if (HMIADAPTER STREQUAL "messagebroker") set(HMI_JSON_API ON) -- cgit v1.2.1