diff options
author | Frank Osterfeld <frank@kdab.net> | 2009-04-23 12:15:33 +0200 |
---|---|---|
committer | unknown <Administrator@.(none)> | 2009-11-30 10:50:18 +0100 |
commit | eb96d81ecaf0a6a8e516e350807f37f473aca521 (patch) | |
tree | 08a23c054ba0061796c00ef20eb56e38b2a116f0 /cmake/tools | |
parent | 466848045880783eb3f8939fbedb7a7b6064b81f (diff) | |
download | dbus-eb96d81ecaf0a6a8e516e350807f37f473aca521.tar.gz |
build fixes for tests on unix (cherry picked from commit 99f567e97f807a1270d01f97223941acd279dbf8)
Diffstat (limited to 'cmake/tools')
-rw-r--r-- | cmake/tools/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/tools/CMakeLists.txt b/cmake/tools/CMakeLists.txt index 684ec0e0..976262cc 100644 --- a/cmake/tools/CMakeLists.txt +++ b/cmake/tools/CMakeLists.txt @@ -22,6 +22,13 @@ set (dbus_launch_SOURCES ) endif (WIN32) +if (DBUS_BUILD_X11) +set (dbus_launch_SOURCES + ${dbus_launch_SOURCES} + ../../tools/dbus-launch-x11.c +) +endif(DBUS_BUILD_X11) + set (dbus_cleanup_sockets_SOURCES ../../tools/dbus-cleanup-sockets.c ) @@ -40,6 +47,9 @@ install_targets(/bin dbus-send ) add_executable(dbus-launch ${dbus_launch_SOURCES}) target_link_libraries(dbus-launch ) +if (DBUS_BUILD_X11) + target_link_libraries(dbus-launch ${X11_LIBRARIES} ) +endif (DBUS_BUILD_X11) install_targets(/bin dbus-launch ) add_executable(dbus-monitor ${dbus_monitor_SOURCES}) |