mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-25 13:28:52 +02:00
Trying to compile libwebp with CMAKE_OSX_ARCHITECTURES="x86_64;arm64" (also called as universal binary), will always fail due to SIMD intrinsics check. CMake passes `-arch x86_64 -arch arm64` into the compiler during `check_c_source_compiles`, which will always fail for any flag, because either x86_64 or arm64 won't have it. This also results in you not being able to compile the library due to errors like "SSE2 register return with SSE2 disabled". Change-Id: I32a41e4c64ce8c6a043083023a4018d512be124b