Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/common/CMakeLists.txt
- This file was added.
1 | # KI18N Translation Domain for this library | ||||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwincommon\") | ||||
3 | | ||||
4 | include_directories(${KWIN_SOURCE_DIR}/effects) | ||||
5 | | ||||
6 | set(kcmkwincommon_SRC | ||||
7 | effectmodel.cpp | ||||
8 | ) | ||||
9 | | ||||
10 | qt5_add_dbus_interface(kcmkwincommon_SRC | ||||
11 | ${KWIN_SOURCE_DIR}/org.kde.kwin.Effects.xml kwin_effects_interface | ||||
12 | ) | ||||
13 | | ||||
14 | add_library(kcmkwincommon SHARED ${kcmkwincommon_SRC}) | ||||
15 | | ||||
16 | target_link_libraries(kcmkwincommon | ||||
17 | Qt5::Core | ||||
18 | Qt5::DBus | ||||
19 | KF5::CoreAddons | ||||
20 | KF5::ConfigCore | ||||
21 | KF5::I18n | ||||
22 | KF5::Package | ||||
23 | KF5::KCMUtils | ||||
24 | kwin4_effect_builtins | ||||
25 | ) | ||||
26 | | ||||
27 | set_target_properties(kcmkwincommon PROPERTIES | ||||
28 | VERSION ${PROJECT_VERSION} | ||||
29 | SOVERSION ${PROJECT_VERSION_MAJOR} | ||||
30 | ) | ||||
31 | | ||||
32 | install(TARGETS kcmkwincommon ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) |