summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuomo Rinne <tuomo.rinne@pm.me>2020-01-22 21:31:15 +0000
committerSimon McVittie <smcv@collabora.com>2020-04-20 19:34:29 +0100
commit3e0ea34966752dc8f762783fd46faa96d6528b1d (patch)
tree8a35d1f99f7d6f2203fd49527d81e6d3ef57836a
parentd0992805d764322b65ea9633df948088e7fc6871 (diff)
downloaddbus-3e0ea34966752dc8f762783fd46faa96d6528b1d.tar.gz
cmake: Add X11 include path for tools
Fixes compilation issues for case when X11 is not in a standard location
-rw-r--r--cmake/tools/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/tools/CMakeLists.txt b/cmake/tools/CMakeLists.txt
index c05ced43..4678bddf 100644
--- a/cmake/tools/CMakeLists.txt
+++ b/cmake/tools/CMakeLists.txt
@@ -48,6 +48,7 @@ set (dbus_launch_SOURCES
${dbus_launch_SOURCES}
../../tools/dbus-launch-x11.c
)
+include_directories(${X11_INCLUDE_DIR})
endif(DBUS_BUILD_X11)
set (dbus_cleanup_sockets_SOURCES