From 37f0f676829159b47e4f5357768c22c6576b47ad Mon Sep 17 00:00:00 2001
From: CensoredUsername <cens.username@gmail.com>
Date: Mon, 27 Jun 2016 23:39:51 +0200
Subject: [PATCH] Support CMake installations in paths containing spaces

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index beaac7557575..e1319828e3f1 100755
--- a/configure
+++ b/configure
@@ -1725,7 +1725,7 @@ do
         msg "configuring LLVM with:"
         msg "$CMAKE_ARGS"
 
-        (cd $LLVM_BUILD_DIR && eval "$CFG_CMAKE" $CMAKE_ARGS)
+        (cd $LLVM_BUILD_DIR && eval "\"$CFG_CMAKE\"" $CMAKE_ARGS)
         need_ok "LLVM cmake configure failed"
     fi