Commit ce740211 authored by Volker Krause's avatar Volker Krause
Browse files

Make the kcfg_generate_dbus_interface macro self-contained and reusable

Right now we have a bunch of copies of this all over the place, which only
actually differ in also taking care of finding xsltproc, so just do this
here.
parent b0ff923f
Pipeline #76163 passed with stage
in 13 minutes and 46 seconds
......@@ -111,6 +111,7 @@ function(add_akonadi_isolated_test_advanced source additional_sources link_libra
endfunction()
function(kcfg_generate_dbus_interface _kcfg _name)
find_program(XSLTPROC_EXECUTABLE xsltproc)
if (NOT XSLTPROC_EXECUTABLE)
message(FATAL_ERROR "xsltproc executable not found but needed by KCFG_GENERATE_DBUS_INTERFACE()")
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