From e4feaa1a690fdc8a4cee9c75a697323bd3ef9748 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Mon, 24 May 2021 08:56:17 +0200 Subject: [PATCH] [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")