CMake: restore native SIMD flag option
'-DENABLE_SIMD_FLAGS=native' should (again) enable native flags
to disable SIMD flags use '-DENABLE_SIMD_FLAGS=none'
@@ -102,6 +102,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
SET_PROPERTY(CACHE ENABLE_SIMD_FLAGS PROPERTY STRINGS none native SSE3 SSE4.2 AVX AVX2)
if(${ENABLE_SIMD_FLAGS} MATCHES "native")
+ add_definitions(-march=native)
if(X86)
add_definitions(-mfpmath=both)
endif()
