aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-08-08 04:32:21 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-08-08 04:32:21 +0000
commit652eb506a70728d69a0858e794cd79d8840918e2 (patch)
tree0577d0c90226114630591b66f5fed82fb617492f /include/llvm
parent118eb57d762e15e67f9bb61bd9cf0e8545eb4ce8 (diff)
downloadexternal_llvm-652eb506a70728d69a0858e794cd79d8840918e2.zip
external_llvm-652eb506a70728d69a0858e794cd79d8840918e2.tar.gz
external_llvm-652eb506a70728d69a0858e794cd79d8840918e2.tar.bz2
CMake: set configure macro LLVM_PREFIX
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Config/config.h.cmake2
-rw-r--r--include/llvm/Config/llvm-config.h.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 5468316..d9f95a6 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -525,7 +525,7 @@
#cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}"
/* Installation prefix directory */
-#undef LLVM_PREFIX
+#cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
/* Define if the OS needs help to load dependent libraries for dlopen(). */
#cmakedefine LTDL_DLOPEN_DEPLIBS ${LTDL_DLOPEN_DEPLIBS}
diff --git a/include/llvm/Config/llvm-config.h.cmake b/include/llvm/Config/llvm-config.h.cmake
index 4b8a625..c277ef2 100644
--- a/include/llvm/Config/llvm-config.h.cmake
+++ b/include/llvm/Config/llvm-config.h.cmake
@@ -81,4 +81,4 @@
#cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}"
/* Installation prefix directory */
-#cmakedefine LLVM_PREFIX
+#cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"