1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-07 10:51:45 +00:00

Fix "make install" with ninja.

The custom command name must differ from the name of the generated file.
This commit is contained in:
David Faure 2015-07-29 22:53:06 +02:00
parent 8a52fe34f9
commit 1cb516cb48

View File

@ -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 ()