X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/7042c6c2899a4e46a095a38ee1481b63ca4b96d8..d26e3cae9f0e22a1195ed413b045f17a691f20ee:/cmake/DbusInterfaceMacros.cmake diff --git a/cmake/DbusInterfaceMacros.cmake b/cmake/DbusInterfaceMacros.cmake index 0fd2f4c1f..e2e324602 100644 --- a/cmake/DbusInterfaceMacros.cmake +++ b/cmake/DbusInterfaceMacros.cmake @@ -1,18 +1,18 @@ macro (generate_and_install_dbus_interface main_project_target header_file output_xml_file) - qt5_generate_dbus_interface( + qt_generate_dbus_interface( ${header_file} ${output_xml_file} ) add_custom_target( - ${output_xml_file} + ${output_xml_file}_target SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file} - ) + ) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file} - DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} + DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} ) add_dependencies( ${main_project_target} - ${output_xml_file} + ${output_xml_file}_target ) endmacro ()