diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 20:14:54 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 20:14:54 +0000 |
commit | 20d8c1645c84a8d946fc21b599ebf49e3e798ddd (patch) | |
tree | 927040c03eae21cbc78e5664e7c7c9386500e650 /cmake | |
parent | 39ae36337f87b1530c1680ae561c952c827d6e88 (diff) |
Switch from using a lit.cfg-generator variable that happens to be found
due to strange scoping rules to the actual canonical variable name
within the LLVM CMake build.
No functionality changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index b5a5c83de5..78a21ada84 100755 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -259,7 +259,7 @@ function(add_lit_target target comment) separate_arguments(LIT_ARGS) set(LIT_COMMAND ${PYTHON_EXECUTABLE} - ${LLVM_SOURCE_DIR}/utils/lit/lit.py + ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py --param build_config=${CMAKE_CFG_INTDIR} --param build_mode=${RUNTIME_BUILD_MODE} ${LIT_ARGS} |