aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/LLVMConfig.cmake.in
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-07-07 03:12:28 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-07-07 03:12:28 +0000
commit845b4c2f0b2b3f0ec468ac863550b25708279180 (patch)
treee9def264545448c4f9ed7afe18c75f2c11a52e76 /cmake/modules/LLVMConfig.cmake.in
parent9cb22d6c8c71dc79f0903ca4c105c3e727e2ce24 (diff)
downloadexternal_llvm-845b4c2f0b2b3f0ec468ac863550b25708279180.zip
external_llvm-845b4c2f0b2b3f0ec468ac863550b25708279180.tar.gz
external_llvm-845b4c2f0b2b3f0ec468ac863550b25708279180.tar.bz2
LLVMConfig.cmake.in: Quote around @LLVM_INSTALL_PREFIX@, or it would not accept whitespace paths.
Thanks to Kai. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/LLVMConfig.cmake.in')
-rw-r--r--cmake/modules/LLVMConfig.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/LLVMConfig.cmake.in b/cmake/modules/LLVMConfig.cmake.in
index 443ec41..c43119e 100644
--- a/cmake/modules/LLVMConfig.cmake.in
+++ b/cmake/modules/LLVMConfig.cmake.in
@@ -31,7 +31,7 @@ set(HAVE_LIBPTHREAD @HAVE_LIBPTHREAD@)
set(LLVM_ON_UNIX @LLVM_ON_UNIX@)
set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
-set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@)
+set(LLVM_INSTALL_PREFIX "@LLVM_INSTALL_PREFIX@")
set(LLVM_INCLUDE_DIRS ${LLVM_INSTALL_PREFIX}/include)
set(LLVM_LIBRARY_DIRS ${LLVM_INSTALL_PREFIX}/lib)
set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS")