diff --git a/cmake/ConfigureCompiler.cmake b/cmake/ConfigureCompiler.cmake index e52d8665ee8..7e50469ba6a 100644 --- a/cmake/ConfigureCompiler.cmake +++ b/cmake/ConfigureCompiler.cmake @@ -253,7 +253,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)