diff --git a/nc_optimisation.cmake b/nc_optimisation.cmake index 6f042b6..ade173d 100644 --- a/nc_optimisation.cmake +++ b/nc_optimisation.cmake @@ -83,9 +83,9 @@ if (${host_cpu} STREQUAL "x86_64") append_compile_flag(-msse) append_compile_flag(-msse2) append_compile_flag(-mssse3) + append_compile_flag(-msse3) + append_compile_flag(-mavx) - append_compile_flag(-mno-sse3) - append_compile_flag(-mno-avx) append_compile_flag(-mno-avx2) # These instructions should always be available on reasonable platforms.