H-uru / libhsplasma

Cross-platform Plasma data and network library
GNU General Public License v3.0
32 stars 30 forks source link

SSE compile flags unconditionally added #260

Closed dpogue closed 1 year ago

dpogue commented 2 years ago

Compiling on macOS for Apple Silicon (Arm64) yields the following warning:

clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]

Also libsquish tries to pull in the SSE headers and fails to compile.

dpogue commented 2 years ago

We have an option for it that defaults to ON, so maybe we just need to set that only on non-arm architectures?

https://github.com/H-uru/libhsplasma/blob/f36d64638d9a646e027011aee6adac78568efc20/CMakeLists.txt#L12