diff --git a/cmake/archdetect.cmake b/cmake/archdetect.cmake index 2d64e5cf..9dd5962a 100644 --- a/cmake/archdetect.cmake +++ b/cmake/archdetect.cmake @@ -70,7 +70,7 @@ else() if (SIMDE_BACKEND) if (CMAKE_COMPILER_IS_CLANG) if(ARCH_AARCH64) - if (CMAKE_C_COMPILER_VERSION VERSION_LESS "15.0") + if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0") set(GNUCC_ARCH native) set(TUNE_FLAG native) else()