diff options
author | Alexander Golubev <[email protected]> | 2023-12-29 12:06:56 +0300 |
---|---|---|
committer | Alexander Golubev <[email protected]> | 2023-12-29 12:06:56 +0300 |
commit | da111a61956c1d052c8fe510d0add5dd6c891030 (patch) | |
tree | fcaaaea8db11a58536066a1e1b6192fe6338d915 | |
parent | e542cb24843b0314bb388481b81c2d434402cc70 (diff) | |
download | kdbusnotification-da111a61956c1d052c8fe510d0add5dd6c891030.tar.gz kdbusnotification-da111a61956c1d052c8fe510d0add5dd6c891030.zip |
Respect -DDBUS_BINDING_TOOL provided by cmake user
-rw-r--r-- | ConfigureChecks.cmake | 2 | ||||
-rw-r--r-- | src/daemon/CMakeLists.txt | 2 |
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} ) |