Use regular arm* and aarch* to check arm architecture
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
option(DOWNLOAD_ARMCOMPUTE "Download ARM Compute source" ON)
CMAKE_DEPENDENT_OPTION(BUILD_ARMCOMPUTE "Build ARM Compute from the downloaded source"
# Enable ARMCompute build if the target architecture is aarch
- OFF "NOT ${TARGET_ARCH_BASE} STREQUAL arm;NOT ${TARGET_ARCH_BASE} STREQUAL aarch"
+ OFF "NOT ${TARGET_ARCH_BASE} MATCHES arm*;NOT ${TARGET_ARCH_BASE} MATCHES aarch*"
# Disable ARMCompute build otherwise
ON)
option(DOWNLOAD_NONIUS "Download nonius source" ON)