mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE] CMakeLists.txt: Add arm64 to ARCH allowed values
CORE-17518
This commit is contained in:
parent
9078e34f3c
commit
e4feaa1a69
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue