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.

llvm-svn: 159575
This commit is contained in:
Chandler Carruth 2012-07-02 20:14:54 +00:00
parent 4355dfdc86
commit c5e7cb60ee

View File

@ -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}