]> 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)
committerTuomo Rinne <tuomo.rinne@pm.me>
Wed, 22 Jan 2020 21:56:53 +0000 (21:56 +0000)
Fixes compilation issues for case when X11 is not in a standard location

tools/CMakeLists.txt

index 8cde1ffe0c799fc705e9d1c2e98099fa0ab65a80..1a5a5709f55078e1d8233f63ff9ec3eb56a24d95 100644 (file)
@@ -48,6 +48,7 @@ set(dbus_launch_SOURCES
      ${dbus_launch_SOURCES}
      dbus-launch-x11.c
 )
+include_directories(${X11_INCLUDE_DIR})
 endif()
 
 set(dbus_cleanup_sockets_SOURCES