1
0
Fork 0

Add interface file as dependency to generate_dbus

This ensures the code gets updated as the file changes
This commit is contained in:
Ilya Fedin 2023-06-20 21:59:32 +04:00 committed by John Preston
parent 9e47fc7e20
commit 0811c5f446

View file

@ -40,6 +40,7 @@ function(generate_dbus target_name interface_prefix namespace interface_file)
COMMENT "Generating D-Bus C code for ${namespace} (${target_name})" COMMENT "Generating D-Bus C code for ${namespace} (${target_name})"
DEPENDS DEPENDS
${DESKTOP_APP_GDBUSCODEGEN} ${DESKTOP_APP_GDBUSCODEGEN}
${interface_file}
) )
add_library(${target_name}_${namespace}_dbus STATIC) add_library(${target_name}_${namespace}_dbus STATIC)