]> cloud.milkyroute.net Git - dolphin.git/blobdiff - cmake/DbusInterfaceMacros.cmake
GIT_SILENT Sync po/docbooks with svn
[dolphin.git] / cmake / DbusInterfaceMacros.cmake
index 0fd2f4c1fb72ad3c87b5683f72cf7b52454fa883..e2e32460274c9ec3810a993d4a606161fa3a7bb8 100644 (file)
@@ -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 ()