KrisLibrary
KrisLibrary copied to clipboard
Update CMakeLists, removing SSE flag for ARM based computers
SSE instructions are only available on intel based architectures. With recent arm computer, including Apple M1, we need to disable SSE options if we cannot detect intel architecture. Otherwise the compilation will fail.
Indeed, this is a quick fix and without it, it does not build on any platforms other than x86.
Might be a good idea to investigate if some flags (such as -mfpu=neon-fp-armv
) could be set to improve performance on platforms running NEON SIMD or other vector FPUs