Fix ARM Check

This commit is contained in:
TheBrokenRail 2022-04-24 18:56:21 -04:00
parent 2717e062b3
commit 9412c07c45

View File

@ -51,7 +51,7 @@ endif()
project(minecraft-pi-reborn) project(minecraft-pi-reborn)
# Require ARM Compilation # Require ARM Compilation
if(USE_ARM32_TOOLCHAIN AND (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm") AND (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")) if(USE_ARM32_TOOLCHAIN AND (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm") AND (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l") AND (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "armv8l"))
message(FATAL_ERROR "ARM-Targeting Compiler Required") message(FATAL_ERROR "ARM-Targeting Compiler Required")
endif() endif()