diff --git a/nc_optimisation.cmake b/nc_optimisation.cmake index d65ffe7..aecd8ba 100644 --- a/nc_optimisation.cmake +++ b/nc_optimisation.cmake @@ -95,8 +95,7 @@ if (${host_cpu} STREQUAL "x86_64") append_compile_flag(-mssse3) append_compile_flag(-msse3) append_compile_flag(-mavx) - - append_compile_flag(-mno-avx2) + append_compile_flag(-mavx2) # These instructions should always be available on reasonable platforms. # They're almost 20 years old at this point.