chfast added a comment. Alternative solution is to keep LLVM_DEFINITIONS as a cmake lists (; separated values). And convert it into the flags string on demand. E.g. with a helper function like llvm_get_definitions. http://reviews.llvm.org/D13432