You have to use -D syntax for cmake iirc.
Also use godbolt to verify flags like… ah… This should still work – but you can use per func attr to markup for SSE level – eg:
-xc -Wall -O3 -march=Skylake
I would look up exact arch and flags you want for specific version of clang.