summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2023-12-29 12:06:56 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-30 20:53:04 +0900
commit93591f24f61c51cfe8c5c45f1418d0ac2d468fb0 (patch)
treefcaaaea8db11a58536066a1e1b6192fe6338d915
parenta971c7f641f82fc56f41df467c32c035082193f1 (diff)
downloadkdbusnotification-93591f24f61c51cfe8c5c45f1418d0ac2d468fb0.tar.gz
kdbusnotification-93591f24f61c51cfe8c5c45f1418d0ac2d468fb0.zip
Respect -DDBUS_BINDING_TOOL provided by cmake user
(cherry picked from commit da111a61956c1d052c8fe510d0add5dd6c891030)
-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}
)