ainame / Swift-WebP

A thin libwebp wrapper in Swift that provides both encode/decode APIs
MIT License
163 stars 39 forks source link

Enable -fembed-bitcode #37

Closed ainame closed 5 years ago

ainame commented 5 years ago

Closes #32

It seems like we don't have to specify -DWEBP_USE_SSE2 manually. https://github.com/webmproject/libwebp/blob/0fe1a89dbf1930fc2554dbe76adad5d962054ead/src/dsp/dsp.h#L67-L77

So I just added the flag to enable bitcode on iOS platform.