From 9ae1abcc9da751678036091cd5a95ad79a71cc95 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sat, 15 Oct 2022 16:13:08 +0200 Subject: [PATCH] Attempt to cross-compile for arm64 Linux --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e0473a7c..226e612bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -503,7 +503,7 @@ if(ENABLE_CONAN) GENERATORS cmake_find_package json # json generator generates a conanbuildinfo.json in the build folder so (non-CMake) projects can easily parse OSRM's dependencies KEEP_RPATHS NO_OUTPUT_DIRS - ENV chost=aarch64 + ENV CONAN_CMAKE_SYSTEM_PROCESSOR=aarch64 OPTIONS boost:filesystem_version=3 # https://stackoverflow.com/questions/73392648/error-with-boost-filesystem-version-in-cmake onetbb:shared=${TBB_SHARED} boost:without_stacktrace=True # Apple Silicon cross-compilation fails without it