From 83651b4b904bb14e360590cb22c6ec1ef6668b77 Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 6 Jan 2023 18:59:59 +0100 Subject: [PATCH] CMake: Respect the ARCH env variable --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d4e5b69..78c72f8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ set(LUNA_BASE ${CMAKE_CURRENT_LIST_DIR}/base) set(ARCH $ENV{ARCH}) -if(NOT DEFINED $ENV{ARCH}) +if(NOT DEFINED ARCH) set(ARCH "x86_64") endif()