on 6ca9421 help sign in
unity8/plugins/Powerd/CMakeLists.txt
17 lines 340 B history raw
1pkg_search_module(GIO REQUIRED gio-2.0)
3include_directories(
4 ${GIO_INCLUDE_DIRS}
5)
7add_definitions(-DSM_BUSNAME=systemBus)
9add_library(Powerd-qml MODULE
10 plugin.cpp
11 Powerd.cpp
12 )
14qt5_use_modules(Powerd-qml DBus Qml)
15target_link_libraries(Powerd-qml ${GIO_LDFLAGS})
17add_unity8_plugin(Powerd 0.1 Powerd TARGETS Powerd-qml)