diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2010-08-08 04:32:21 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2010-08-08 04:32:21 +0000 |
commit | 652eb506a70728d69a0858e794cd79d8840918e2 (patch) | |
tree | 0577d0c90226114630591b66f5fed82fb617492f /cmake/config-ix.cmake | |
parent | 118eb57d762e15e67f9bb61bd9cf0e8545eb4ce8 (diff) | |
download | llvm-652eb506a70728d69a0858e794cd79d8840918e2.tar.gz |
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 'cmake/config-ix.cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index c03c1cb3811b..3427ee9c0c08 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -260,6 +260,8 @@ else( ENABLE_THREADS ) message(STATUS "Threads disabled.") endif() +set(LLVM_PREFIX ${CMAKE_INSTALL_PREFIX}) + configure_file( ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/config.h.cmake ${LLVM_BINARY_DIR}/include/llvm/Config/config.h |