Verified Commit 868f9780 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 b62b9642
Pipeline #67887 passed with stage
in 7 minutes and 57 seconds
......@@ -11,8 +11,7 @@ ecm_qt_declare_logging_category(balsaimporter_SRCS HEADER balsaplugin_debug.h
kcoreaddons_add_plugin(balsaimporterplugin JSON balsaimporter.json SOURCES
${balsaimporter_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(balsaimporterplugin SOURCES ${balsaimporter_SRCS} INSTALL_NAMESPACE importwizard)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(balsaimporterplugin PROPERTIES UNITY_BUILD ON)
endif()
......
......@@ -22,8 +22,7 @@ ecm_qt_declare_logging_category(clawsmailimporter_SRCS HEADER clawsmailplugin_de
kcoreaddons_add_plugin(clawsmailimporterplugin JSON clawsmailimporter.json SOURCES
${clawsmailimporter_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(clawsmailimporterplugin SOURCES ${clawsmailimporter_SRCS} INSTALL_NAMESPACE importwizard)
set_target_properties(clawsmailimporterplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/importwizard/")
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(clawsmailimporterplugin PROPERTIES UNITY_BUILD ON)
......
......@@ -12,8 +12,7 @@ ecm_qt_declare_logging_category(evolutionv3importer_SRCS HEADER evolutionv3plugi
)
kcoreaddons_add_plugin(evolutionv3importerplugin JSON evolutionv3importer.json SOURCES
${evolutionv3importer_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(evolutionv3importerplugin SOURCES ${evolutionv3importer_SRCS} INSTALL_NAMESPACE importwizard)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(evolutionv3importerplugin PROPERTIES UNITY_BUILD ON)
endif()
......
......@@ -12,8 +12,7 @@ ecm_qt_declare_logging_category(icedoveimporter_SRCS HEADER thunderbirdplugin_de
EXPORT IMPORTWIZARD
)
kcoreaddons_add_plugin(icedoveimporterplugin JSON icedoveimporter.json SOURCES
${icedoveimporter_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(icedoveimporterplugin SOURCES ${icedoveimporter_SRCS} INSTALL_NAMESPACE importwizard)
set_target_properties(icedoveimporterplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/importwizard/")
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(icedoveimporterplugin PROPERTIES UNITY_BUILD ON)
......
......@@ -12,8 +12,7 @@ ecm_qt_declare_logging_category(seamonkeyimporter_SRCS HEADER thunderbirdplugin_
EXPORT IMPORTWIZARD
)
kcoreaddons_add_plugin(seamonkeyimporterplugin JSON seamonkeyimporter.json SOURCES
${seamonkeyimporter_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(seamonkeyimporterplugin SOURCES ${seamonkeyimporter_SRCS} INSTALL_NAMESPACE importwizard)
set_target_properties(seamonkeyimporterplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/importwizard/")
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(seamonkeyimporterplugin PROPERTIES UNITY_BUILD ON)
......
......@@ -10,8 +10,7 @@ ecm_qt_declare_logging_category(sylpheedimporter_SRCS HEADER sylpheedplugin_debu
EXPORT IMPORTWIZARD
)
kcoreaddons_add_plugin(sylpheedimporterplugin JSON sylpheedimporter.json SOURCES
${sylpheedimporter_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(sylpheedimporterplugin SOURCES ${sylpheedimporter_SRCS} INSTALL_NAMESPACE importwizard)
set_target_properties(sylpheedimporterplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/importwizard/")
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(sylpheedimporterplugin PROPERTIES UNITY_BUILD ON)
......
......@@ -10,8 +10,7 @@ ecm_qt_declare_logging_category(thunderbirdimporter_SRCS HEADER thunderbirdplugi
EXPORT IMPORTWIZARD
)
kcoreaddons_add_plugin(thunderbirdimporterplugin JSON thunderbirdimporter.json SOURCES
${thunderbirdimporter_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(thunderbirdimporterplugin SOURCES ${thunderbirdimporter_SRCS} INSTALL_NAMESPACE importwizard)
set_target_properties(thunderbirdimporterplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/importwizard/")
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(thunderbirdimporterplugin PROPERTIES UNITY_BUILD ON)
......
......@@ -10,8 +10,7 @@ ecm_qt_declare_logging_category(trojitaimporter_SRCS HEADER trojitaplugin_debug.
EXPORT IMPORTWIZARD
)
kcoreaddons_add_plugin(trojitaimporterplugin JSON trojitaimporter.json SOURCES
${trojitaimporter_SRCS} INSTALL_NAMESPACE importwizard)
kcoreaddons_add_plugin(trojitaimporterplugin SOURCES ${trojitaimporter_SRCS} INSTALL_NAMESPACE importwizard)
set_target_properties(trojitaimporterplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/importwizard/")
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(trojitaimporterplugin PROPERTIES UNITY_BUILD ON)
......
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