CMake 判断系统语法
CMake平台判断:
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|aarch64)")
####
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64)")
####
endif()
CMake平台判断:
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|aarch64)")
####
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64)")
####
endif()