Changeset View
Changeset View
Standalone View
Standalone View
kcms/bolt/CMakeLists.txt
- This file was added.
1 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_bolt\") | ||||
---|---|---|---|---|---|
2 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||||
3 | | ||||
4 | set(KCM_BOLT_SRCS | ||||
5 | kcm_bolt.cpp | ||||
6 | ) | ||||
7 | | ||||
8 | add_library(kcm_bolt MODULE ${KCM_BOLT_SRCS}) | ||||
9 | set_target_properties(kcm_bolt PROPERTIES CXX_STANDARD 14) | ||||
10 | target_link_libraries(kcm_bolt | ||||
11 | KF5::QuickAddons | ||||
12 | KF5::I18n | ||||
13 | KF5::Declarative | ||||
14 | kbolt | ||||
15 | ) | ||||
16 | | ||||
17 | kcoreaddons_desktop_to_json(kcm_bolt "kcm_bolt.desktop" SERVICE_TYPES kcmodule.desktop) | ||||
18 | | ||||
19 | install(FILES kcm_bolt.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||||
20 | install(TARGETS kcm_bolt DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||||
21 | | ||||
22 | kpackage_install_package(package kcm_bolt kcms) | ||||
23 | |