]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: Add X11 include path for tools
authorTuomo Rinne <tuomo.rinne@pm.me>
Wed, 22 Jan 2020 21:31:15 +0000 (21:31 +0000)
committerSimon McVittie <smcv@collabora.com>
Mon, 20 Apr 2020 18:34:29 +0000 (19:34 +0100)
Fixes compilation issues for case when X11 is not in a standard location

cmake/tools/CMakeLists.txt

index c05ced43a72084d3015af6b81608ae0706a1a2c9..4678bddf4911ba37e62796a6ec21e3de7da11c3b 100644 (file)
@@ -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