]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix "make install" with ninja.
authorDavid Faure <faure@kde.org>
Wed, 29 Jul 2015 20:53:06 +0000 (22:53 +0200)
committerDavid Faure <faure@kde.org>
Wed, 29 Jul 2015 20:53:06 +0000 (22:53 +0200)
The custom command name must differ from the name of the generated file.

cmake/DbusInterfaceMacros.cmake

index 0fd2f4c1fb72ad3c87b5683f72cf7b52454fa883..71ad9067d992d1cb41bcdc0ea0f8dc3328729794 100644 (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 ()