summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ConfigureChecks.cmake2
-rw-r--r--src/daemon/CMakeLists.txt2
2 files changed, 1 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index af44ac2..0ff0cf4 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -31,8 +31,6 @@ find_program( DBUS_BINDING_TOOL NAMES dbus-binding-tool )
if( "${DBUS_BINDING_TOOL}" STREQUAL "DBUS_BINDING_TOOL-NOTFOUND" )
tde_message_fatal( "The dbus-binding-tool executable is required, but was not found on your system" )
- else()
- set( _DBUS_TOOL dbus-binding-tool )
endif( )
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
index df78e8a..7652df0 100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
@@ -27,7 +27,7 @@ set( _xml notificationdaemon.xml )
add_custom_command(
OUTPUT ${_header}
- COMMAND ${_DBUS_TOOL}
+ COMMAND ${DBUS_BINDING_TOOL}
ARGS --mode=glib-server --prefix=notification_daemon_tde ${CMAKE_CURRENT_SOURCE_DIR}/${_xml} > ${_header}
DEPENDS ${_xml}
)