mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 09:50:12 +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:
parent
8a52fe34f9
commit
1cb516cb48
|
@ -4,7 +4,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
|
||||||
${output_xml_file}
|
${output_xml_file}
|
||||||
)
|
)
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
${output_xml_file}
|
${output_xml_file}_target
|
||||||
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
|
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
|
@ -13,6 +13,6 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
|
||||||
)
|
)
|
||||||
add_dependencies(
|
add_dependencies(
|
||||||
${main_project_target}
|
${main_project_target}
|
||||||
${output_xml_file}
|
${output_xml_file}_target
|
||||||
)
|
)
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
Loading…
Reference in a new issue