fix(arm): disable power module

This commit is contained in:
justforlxz 2019-04-01 11:25:59 +08:00
parent 5be4c59e51
commit cd04dea635
No known key found for this signature in database
GPG Key ID: 593AFD577C1B1A60

View File

@ -12,7 +12,7 @@ find_package(Qt5Svg REQUIRED)
find_package(Qt5DBus REQUIRED)
find_package(DtkWidget REQUIRED)
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
add_definitions("-DDISABLE_POWER_OPTIONS")
endif()