fixed(bug6067):arm open sleep and hibernate

This commit is contained in:
shaojun 2019-11-12 15:07:48 +08:00
parent 32f7888d77
commit 617c53b318

View File

@ -12,9 +12,9 @@ find_package(Qt5Svg REQUIRED)
find_package(Qt5DBus REQUIRED)
find_package(DtkWidget REQUIRED)
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
add_definitions("-DDISABLE_POWER_OPTIONS")
endif()
#if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
# add_definitions("-DDISABLE_POWER_OPTIONS")
#endif()
add_definitions("${QT_DEFINITIONS} -DQT_PLUGIN")
add_library(${PLUGIN_NAME} SHARED ${SRCS} shutdown.qrc)