mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-05 21:32:12 +02:00
Don't try to build with crashpad on aarch64 Linux.
Google currently doesn't support building crashpad on or for aarch64 Linux.
This commit is contained in:
parent
89f94e567c
commit
1304129fa2
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ macro(add_crashpad)
|
|||
set(CMAKE_BACKTRACE_TOKEN $ENV{CMAKE_BACKTRACE_TOKEN})
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
||||
message(STATUS "Checking crashpad config - Linux aarch64 is not supported by crashpad, disabled.")
|
||||
set(USE_CRASHPAD FALSE)
|
||||
endif()
|
||||
|
||||
if (USE_CRASHPAD)
|
||||
message(STATUS "Checking crashpad config - enabled.")
|
||||
get_property(CRASHPAD_CHECKED GLOBAL PROPERTY CHECKED_FOR_CRASHPAD_ONCE)
|
||||
|
|
Loading…
Reference in a new issue