Changeset View
Changeset View
Standalone View
Standalone View
libkstats/CMakeLists.txt
1 | set(ksgrdbackend_LIB_SRCS | 1 | set(ksgrdbackend_LIB_SRCS | ||
---|---|---|---|---|---|
2 | AggregateSensor.cpp | 2 | AggregateSensor.cpp | ||
3 | SensorObject.cpp | 3 | SensorObject.cpp | ||
4 | SensorContainer.cpp | 4 | SensorContainer.cpp | ||
5 | SensorPlugin.cpp | 5 | SensorPlugin.cpp | ||
6 | SensorProperty.cpp | 6 | SensorProperty.cpp | ||
7 | ) | 7 | ) | ||
8 | 8 | | |||
9 | add_library(ksgrdbackend ${ksgrdbackend_LIB_SRCS}) | 9 | add_library(ksgrdbackend ${ksgrdbackend_LIB_SRCS}) | ||
10 | add_library(PW5::SysGuardBackend ALIAS ksgrdbackend) | 10 | add_library(KSysGuard::StatsBackend ALIAS ksgrdbackend) | ||
11 | 11 | | |||
12 | target_link_libraries(ksgrdbackend PUBLIC Qt5::Core Qt5::DBus) | 12 | target_link_libraries(ksgrdbackend PUBLIC Qt5::Core Qt5::DBus) | ||
13 | 13 | | |||
14 | set_target_properties(ksgrdbackend PROPERTIES | 14 | set_target_properties(ksgrdbackend PROPERTIES | ||
15 | EXPORT_NAME SysGuardBackend | 15 | EXPORT_NAME SysGuardBackend | ||
16 | ) | 16 | ) | ||
17 | 17 | | |||
18 | install(TARGETS ksgrdbackend EXPORT libKSysGuardbackendTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 18 | install(TARGETS ksgrdbackend EXPORT libKSysGuardbackendTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
19 | 19 | | |||
20 | # Headers are currently not installed as we don't offer compatability yet | 20 | # Headers are currently not installed as we don't offer compatability yet |