Fix toolchain

This commit is contained in:
Jupeyy 2021-08-24 13:21:29 +02:00
parent 00ff285784
commit 942e54de0c

View file

@ -55,7 +55,7 @@ else()
endif()
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64")
if(TARGET_BITS STREQUAL "32")
set(TARGET_CPU_ARCHITECTURE "arm")
else()