diff options
| author | David Faure <[email protected]> | 2015-07-29 22:53:06 +0200 |
|---|---|---|
| committer | David Faure <[email protected]> | 2015-07-29 22:53:06 +0200 |
| commit | 1cb516cb48584a8ab01c95a3a36c768eed4f0920 (patch) | |
| tree | 624f01e9be9f45c23fc9246a1f9610d72cb954fa /cmake | |
| parent | 8a52fe34f94fd2cc4596431f70b7f5c740af8216 (diff) | |
Fix "make install" with ninja.
The custom command name must differ from the name of the generated file.
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/DbusInterfaceMacros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/DbusInterfaceMacros.cmake b/cmake/DbusInterfaceMacros.cmake index 0fd2f4c1f..71ad9067d 100644 --- a/cmake/DbusInterfaceMacros.cmake +++ b/cmake/DbusInterfaceMacros.cmake @@ -4,7 +4,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu ${output_xml_file} ) add_custom_target( - ${output_xml_file} + ${output_xml_file}_target SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file} ) install( @@ -13,6 +13,6 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu ) add_dependencies( ${main_project_target} - ${output_xml_file} + ${output_xml_file}_target ) endmacro () |
