Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
80c3e90d
Commit
80c3e90d
authored
May 07, 2021
by
Laurent Montel
😁
Browse files
We can use qt_add_dbus_interface (so we will help to build against qt6
too)
parent
d58a6175
Changes
2
Hide whitespace changes
Inline
Side-by-side
sensors/CMakeLists.txt
View file @
80c3e90d
...
...
@@ -29,7 +29,7 @@ ecm_qt_declare_logging_category(sensors_LIB_SRCS
)
set_source_files_properties
(
org.kde.KSysGuardDaemon.xml PROPERTIES INCLUDE ../systemstats/SensorInfo.h
)
qt
5
_add_dbus_interface
(
sensors_LIB_SRCS org.kde.KSysGuardDaemon.xml ksysguarddaemon
)
qt_add_dbus_interface
(
sensors_LIB_SRCS org.kde.KSysGuardDaemon.xml ksysguarddaemon
)
add_library
(
Sensors
${
sensors_LIB_SRCS
}
)
add_library
(
KSysGuard::Sensors ALIAS Sensors
)
...
...
systemstats/CMakeLists.txt
View file @
80c3e90d
...
...
@@ -23,7 +23,7 @@ set(systemstats_HDRS
)
set_source_files_properties
(
org.kde.ksystemstats.xml PROPERTIES INCLUDE SensorInfo.h
)
qt
5
_add_dbus_interface
(
dbusinterface_SRCS org.kde.ksystemstats.xml org.kde.ksystemstats
)
qt_add_dbus_interface
(
dbusinterface_SRCS org.kde.ksystemstats.xml org.kde.ksystemstats
)
# Symbol visibility trickery: We cannot generate the DBus interface class with
# the right export macro, so instead create it as a static library with the right
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment