diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2018-01-30 15:45:15 -0500 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2018-01-30 16:33:53 -0500 |
commit | ea5d724fe899e65933b5de33e2957c4cd33338e7 (patch) | |
tree | 683d29c1ad59e003291e9fa083e2ad761cbf784b /CMakeLists.txt | |
parent | 08fcc026eafab3d8058d16b353be0995258d82dc (diff) | |
download | sdl_core-ea5d724fe899e65933b5de33e2957c4cd33338e7.tar.gz |
Fix DBus Build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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) |