Verified Commit a86f70af authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Clean up unneeded JSON parameter in kcoreaddons_add_plugin

The moc process already rebuilds the plugin when the JSON file changes, consequently the additional parameter is not needed.

Task: https://phabricator.kde.org/T14649
parent 1c193b46
Pipeline #67884 passed with stage
in 21 minutes and 58 seconds
......@@ -96,7 +96,6 @@ configure_file (config-cantor.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-cantor.
kcoreaddons_add_plugin(cantorpart
SOURCES ${cantor_PART_SRCS}
JSON "cantor_part.json"
INSTALL_NAMESPACE "kf5/parts")
target_link_libraries(cantorpart KF5::Parts KF5::NewStuff
......
......@@ -2,7 +2,6 @@ function(add_assistant name)
kcoreaddons_add_plugin("cantor_${name}"
SOURCES ${ARGN}
JSON "${name}.json"
INSTALL_NAMESPACE "cantor/assistants")
target_link_libraries("cantor_${name}"
......
......@@ -2,7 +2,6 @@ function(add_backend name)
kcoreaddons_add_plugin("cantor_${name}"
SOURCES ${ARGN}
JSON "${name}.json"
INSTALL_NAMESPACE "cantor/backends")
target_link_libraries("cantor_${name}"
......
......@@ -7,7 +7,6 @@ ki18n_wrap_ui(QalculatePlotAssistant_SRCS qalculateplotdialog.ui)
kcoreaddons_add_plugin(cantor_qalculateplotassistant
SOURCES ${QalculatePlotAssistant_SRCS}
JSON "qalculateplotassistant.json"
INSTALL_NAMESPACE "cantor/assistants")
target_link_libraries(cantor_qalculateplotassistant cantorlibs)
......
......@@ -2,7 +2,6 @@ function(add_panel name)
kcoreaddons_add_plugin("cantor_${name}"
SOURCES ${ARGN}
JSON "${name}.json"
INSTALL_NAMESPACE "cantor/panels")
target_link_libraries("cantor_${name}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment