CMake will fail to properly run check_c_compiler_flag() on ARM when checking for -msse2; it will always pass, and subsequent builds will fail. Trying to compile actual code during CMake is a more reliable way to see if SSE2 is actually available.
CMake will fail to properly run check_c_compiler_flag() on ARM when checking for -msse2; it will always pass, and subsequent builds will fail. Trying to compile actual code during CMake is a more reliable way to see if SSE2 is actually available.