eugenis added a comment. Could this be done with a target("sse4.2") function attribute instead of cmake conditions? Repository: rCRT Compiler Runtime CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59116/new/ https://reviews.llvm.org/D59116