Commit cdd79e40 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Rename library target to match plugin id

parent b9b961b4
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_runner_converterrunner\")
add_library(krunner_converter MODULE converterrunner.cpp)
kcoreaddons_desktop_to_json(krunner_converter plasma-runner-converter.desktop)
target_link_libraries(krunner_converter
add_library(unitconverter MODULE converterrunner.cpp)
kcoreaddons_desktop_to_json(unitconverter plasma-runner-converter.desktop)
target_link_libraries(unitconverter
KF5::I18n
KF5::Runner
KF5::UnitConversion
Qt::Widgets
)
install(TARGETS krunner_converter DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/krunner)
install(TARGETS unitconverter DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/krunner)
if(BUILD_TESTING)
add_subdirectory(autotests)
......
......@@ -4,9 +4,6 @@
* 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