sas accepted this revision. sas added a comment. I'm fine with this patch the way it is. Unless @brucem refuses, I'll submit it. Improving cmake checks can be dealt with later on. Repository: rL LLVM http://reviews.llvm.org/D12750