typo in avx2 check

master
Ismael Gomez 8 years ago
parent 1cef7818e7
commit bd77f2d360

@ -115,9 +115,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
if (HAVE_AVX2)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mfpmath=sse -mavx2 -Ofast -funroll-loops -DLV_HAVE_AVX -DLV_HAVE_SSE")
else (HAVE_AVX2)
message("NOT HAVE AVX2")
if(HAVE_AVX)
message("HAVE AVX")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mfpmath=sse -mavx -Ofast -funroll-loops -DLV_HAVE_AVX -DLV_HAVE_SSE")
elseif(HAVE_SSE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mfpmath=sse -msse4.1 -Ofast -funroll-loops -DLV_HAVE_SSE")

Loading…
Cancel
Save