diff --git a/CMakeLists.txt b/CMakeLists.txt index c27d8e94c8ac09cb06f62cdd4bb3166661d64ae0..813cbc12596f4a1b2568aa8a8aa78111530aa04a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -308,6 +308,8 @@ add_dependencies(build_bundled_libs coro) if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "86" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "amd64") add_definitions("-DCORO_ASM") +elseif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") + add_definitions("-DCORO_UCONTEXT") else() add_definitions("-DCORO_SJLJ") endif()