Commit 817bdbea authored by Volker Krause's avatar Volker Krause

Add missing CMakeLists.txt file

parent 6e27db08
set(solidextras_srcs
brightnessmanager.cpp
lockmanager.cpp
)
if (ANDROID)
list(APPEND solidextras_srcs
androidbrightnessbackend.cpp
androidlockbackend.cpp
)
else()
list(APPEND solidextras_srcs
solidbrightnessbackend.cpp
solidlockbackend.cpp
)
qt5_add_dbus_interface(solidextras_srcs org.kde.Solid.PowerManagement.Actions.BrightnessControl.xml brightnesscontroldbusinterface)
qt5_add_dbus_interface(solidextras_srcs org.freedesktop.ScreenSaver.xml screensaverdbusinterface)
endif()
add_library(SolidExtras STATIC ${solidextras_srcs})
target_link_libraries(SolidExtras PUBLIC Qt5::Core)
if (ANDROID)
target_link_libraries(SolidExtras PRIVATE Qt5::AndroidExtras)
else()
# TODO i18n code needs to move to the user code
target_link_libraries(SolidExtras PRIVATE Qt5::DBus KF5::I18n)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment