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