diff --git a/CMakeLists.txt b/CMakeLists.txt index 2add7d04..ea2ef833 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ elseif(UNIX) find_package(PkgConfig) endif() -if(EMSCRIPTEN OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") +if(EMSCRIPTEN OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") set(LOVR_USE_SSE OFF) endif() diff --git a/src/headset/oculus_mobile.c b/src/headset/oculus_mobile.c index fd96756b..ea3677a5 100644 --- a/src/headset/oculus_mobile.c +++ b/src/headset/oculus_mobile.c @@ -2,6 +2,7 @@ #include "oculus_mobile_bridge.h" #include "math.h" #include "graphics/graphics.h" +#include "graphics/canvas.h" #include "lib/glad/glad.h" #include #include "platform.h"