Changeset View
Changeset View
Standalone View
Standalone View
dataengines/dict/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_dict\") | ||||
---|---|---|---|---|---|
2 | | ||||
1 | set(dict_engine_SRCS | 3 | set(dict_engine_SRCS | ||
2 | dictengine.cpp | 4 | dictengine.cpp | ||
3 | ) | 5 | ) | ||
4 | 6 | | |||
5 | add_library(plasma_engine_dict MODULE ${dict_engine_SRCS}) | 7 | add_library(plasma_engine_dict MODULE ${dict_engine_SRCS}) | ||
6 | 8 | | |||
7 | target_link_libraries (plasma_engine_dict | 9 | target_link_libraries (plasma_engine_dict | ||
8 | KF5::Plasma | 10 | KF5::Plasma | ||
9 | KF5::Service | 11 | KF5::Service | ||
12 | KF5::I18n | ||||
10 | Qt5::Network | 13 | Qt5::Network | ||
11 | ) | 14 | ) | ||
12 | 15 | | |||
13 | kcoreaddons_desktop_to_json(plasma_engine_dict plasma-dataengine-dict.desktop) | 16 | kcoreaddons_desktop_to_json(plasma_engine_dict plasma-dataengine-dict.desktop) | ||
14 | 17 | | |||
15 | install(TARGETS plasma_engine_dict DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | 18 | install(TARGETS plasma_engine_dict DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | ||
16 | install(FILES plasma-dataengine-dict.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 19 | install(FILES plasma-dataengine-dict.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) |