diff --git a/cmake/ConfigureCompiler.cmake b/cmake/ConfigureCompiler.cmake index 6e1bdb52b2d..9b86b14f155 100644 --- a/cmake/ConfigureCompiler.cmake +++ b/cmake/ConfigureCompiler.cmake @@ -279,7 +279,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)