aboutsummaryrefslogtreecommitdiff
path: root/xbmc/platform/linux/powermanagement/CMakeLists.txt
blob: 1893bad11bd187bf82787079f21370d31538b6cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set(SOURCES LinuxPowerSyscall.cpp)

set(HEADERS FallbackPowerSyscall.h
            LinuxPowerSyscall.h)

if(TARGET DBus::DBus)
  list(APPEND SOURCES ConsoleUPowerSyscall.cpp
                      LogindUPowerSyscall.cpp
                      UPowerSyscall.cpp)
  list(APPEND HEADERS ConsoleUPowerSyscall.h
                      LogindUPowerSyscall.h
                      UPowerSyscall.h)
endif()

if (TARGET_WEBOS)
  list(APPEND SOURCES LunaPowerManagement.cpp)
  list(APPEND HEADERS LunaPowerManagement.h)
endif ()

if(SOURCES)
  core_add_library(platform_linux_powermanagement)
endif()