MatzeB accepted this revision. MatzeB added a comment. This revision is now accepted and ready to land. LGTM, though I would recommend adding `list(APPEND CPPFLAGS -pthread)` as well then. http://reviews.llvm.org/D16241