Commit 08eb885b authored by Ralf Habacker's avatar Ralf Habacker
Browse files

cmake: build and install dbus-cleanup-sockets on non Windows platforms

parent f88ca3b8
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#cmakedefine DBUS_PREFIX "@DBUS_PREFIX@" #cmakedefine DBUS_PREFIX "@DBUS_PREFIX@"
#cmakedefine DBUS_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@" #cmakedefine DBUS_SYSTEM_CONFIG_FILE "@DBUS_SYSTEM_CONFIG_FILE@"
#cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@" #cmakedefine DBUS_SESSION_CONFIG_FILE "@DBUS_SESSION_CONFIG_FILE@"
#cmakedefine DBUS_SESSION_SOCKET_DIR "@DBUS_SESSION_SOCKET_DIR@"
#cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@" #cmakedefine DBUS_DAEMON_NAME "@DBUS_DAEMON_NAME@"
#cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@" #cmakedefine DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@"
#cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS "@DBUS_SESSION_BUS_CONNECT_ADDRESS@" #cmakedefine DBUS_SESSION_BUS_CONNECT_ADDRESS "@DBUS_SESSION_BUS_CONNECT_ADDRESS@"
......
...@@ -63,6 +63,12 @@ set(dbus_uuidgen_SOURCES ...@@ -63,6 +63,12 @@ set(dbus_uuidgen_SOURCES
dbus-uuidgen.c dbus-uuidgen.c
) )
if(NOT WIN32)
add_executable(dbus-cleanup-sockets ${dbus_cleanup_sockets_SOURCES})
target_link_libraries(dbus-cleanup-sockets ${DBUS_LIBRARIES})
install(TARGETS dbus-cleanup-sockets ${INSTALL_TARGETS_DEFAULT_ARGS})
endif()
if(WIN32) if(WIN32)
add_executable_version_info(dbus_send_SOURCES "dbus-send") add_executable_version_info(dbus_send_SOURCES "dbus-send")
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment