Export TARGET_TRIPLE on LLVM.cmake. It is necessary for running tests

on Clang when it builds using LLVM as an external library.

Fixes PR9293.

llvm-svn: 126309
This commit is contained in:
Oscar Fuentes 2011-02-23 11:28:40 +00:00
parent bf61d97a98
commit 2ece0b171f
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@)
set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@)
set(TARGET_TRIPLE "@TARGET_TRIPLE@")
set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@)
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)