https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e4feaa1a690fdc8a4cee9…
commit e4feaa1a690fdc8a4cee9c75a697323bd3ef9748
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Mon May 24 08:56:17 2021 +0200
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Mon Oct 11 15:20:34 2021 +0300
[CMAKE] CMakeLists.txt: Add arm64 to ARCH allowed values
CORE-17518
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db6190d9bf3..8ccebb71c66 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@ set(CMAKE_CXX_STANDARD 11)
# check that the ARCH (target architecture) variable is defined
if(NOT ARCH)
- message(FATAL_ERROR "Target architecture (ARCH) is not defined. Please, choose
one of: i386, amd64, arm")
+ message(FATAL_ERROR "Target architecture (ARCH) is not defined. Please, choose
one of: i386, amd64, arm, arm64")
endif()
# Now the ARCH variable will be in lowercase.
# It is needed because STREQUAL comparison
@@ -40,7 +40,7 @@ endif()
string(TOLOWER ${ARCH} ARCH)
# set possible values for cmake GUI
-set_property(CACHE ARCH PROPERTY STRINGS "i386" "amd64"
"arm")
+set_property(CACHE ARCH PROPERTY STRINGS "i386" "amd64"
"arm" "arm64")
# Alternative WinNT-compatible architecture string
if(ARCH STREQUAL "i386")