summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-12-15 21:40:05 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-12-15 21:40:05 -0200
commita0bd5fed856702d41ec8f4f9cc7afa312b58a4f3 (patch)
tree64f0a05c5bcb3b17a0cf6e0b567af76ccd69256d /cmake/modules
parentd9eaf0848b43901465407d1b0b5b6c601498d4e7 (diff)
cmake: Update FindDBusGlib.cmake to merge DBUS_GLIB_INCLUDE_DIR and DBUS_GLIB_LOWLEVEL_INCLUDE_DIR into DBUS_GLIB_INCLUDE_DIRS.
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindDBusGLib.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindDBusGLib.cmake b/cmake/modules/FindDBusGLib.cmake
index e913928b..140ac04c 100644
--- a/cmake/modules/FindDBusGLib.cmake
+++ b/cmake/modules/FindDBusGLib.cmake
@@ -43,8 +43,8 @@ find_path(DBUS_GLIB_LOWLEVEL_INCLUDE_DIR
)
# HACK! Workaround appending "/dbus-1.0" to the HINTS above not working for some reason.
-set (DBUS_GLIB_INCLUDE_DIR
- "${DBUS_GLIB_INCLUDE_DIR}/dbus-1.0"
+set(DBUS_GLIB_INCLUDE_DIRS
+ "${DBUS_GLIB_INCLUDE_DIR}/dbus-1.0" "${DBUS_GLIB_LOWLEVEL_INCLUDE_DIR}"
)
find_library(DBUS_GLIB_LIBRARIES