diff --git a/cmake/ConfigureCompiler.cmake b/cmake/ConfigureCompiler.cmake index 0f8ef940d06..f4f277070b4 100644 --- a/cmake/ConfigureCompiler.cmake +++ b/cmake/ConfigureCompiler.cmake @@ -285,7 +285,7 @@ else() set(USE_AVX512F OFF) endif() endif() - set(USE_AVX ON CACHE BOOL "Enable AVX instructions") + set(USE_AVX OFF CACHE BOOL "Enable AVX instructions") if (USE_AVX) if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "^x86") add_compile_options(-mavx)