HomeOfAviSynthPlusEvolution / L-SMASH-Works

Forked from VFR-maniac/L-SMASH-Works; hydra3333/L-SMASH-Works; l33tmeatwad/L-SMASH-Works; HolyWu/L-SMASH-Works; AkarinVS/L-SMASH-Works.
89 stars 15 forks source link

fix arm64 vapoursynth plugin build #37

Closed mafiosnik777 closed 1 year ago

mafiosnik777 commented 1 year ago

arm64 lacks SSE2 instructions, therefore build fails on macOS with Apple Silicon chips, I added a check for SSE2 instructions for the compiler so the build passes

Asd-g commented 1 year ago

Thanks for this.

I think it's better to separate SSE2 instructions in separate file and include it only when compiling for X86 CPU.