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

Revert "Rename library target to match plugin id"

This reverts commit cdd79e40.
parent cdd79e40
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_runner_converterrunner\")
add_library(unitconverter MODULE converterrunner.cpp)
kcoreaddons_desktop_to_json(unitconverter plasma-runner-converter.desktop)
target_link_libraries(unitconverter
add_library(krunner_converter MODULE converterrunner.cpp)
kcoreaddons_desktop_to_json(krunner_converter plasma-runner-converter.desktop)
target_link_libraries(krunner_converter
KF5::I18n
KF5::Runner
KF5::UnitConversion
Qt::Widgets
)
install(TARGETS unitconverter DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/krunner)
install(TARGETS krunner_converter DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/krunner)
if(BUILD_TESTING)
add_subdirectory(autotests)
......
......@@ -4,6 +4,9 @@
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#undef KRUNNER_TEST_RUNNER_PLUGIN_NAME
#define KRUNNER_TEST_RUNNER_PLUGIN_NAME "unitconverter"
#include <KRunner/AbstractRunnerTest>
#include <KUnitConversion/Converter>
#include <KUnitConversion/UnitCategory>
......
Supports Markdown
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