From b9e74f6b6d3d46690b826f0c4c6d8657d6c6e996 Mon Sep 17 00:00:00 2001 From: xiphon Date: Tue, 22 Sep 2020 14:36:12 +0000 Subject: [PATCH] cmake: support ARCH and BUILD_64 overriding --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f437da7..2dfe702e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,8 +26,8 @@ if(DEBUG) endif() set(BUILD_GUI_DEPS ON) -set(ARCH "x86-64") -set(BUILD_64 ON) +set(ARCH "x86-64" CACHE STRING "Target architecture") +set(BUILD_64 ON CACHE BOOL "Build 64-bit binaries") if(NOT MANUAL_SUBMODULES) find_package(Git)