diff options
author | Reid Kleckner <rnk@google.com> | 2017-09-15 01:18:46 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-09-15 01:18:46 +0000 |
commit | f9c1d433fb7898704f57ba2b9e7831f7dcd404fd (patch) | |
tree | 52562afbe6b92c5790b7d756513cbe59824ccbe2 /cmake/modules | |
parent | 89921cc8f5567987ba714b243ce51f056d621ab5 (diff) | |
download | llvm-f9c1d433fb7898704f57ba2b9e7831f7dcd404fd.tar.gz |
[cmake] Fix a variable shadowing bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/AddLLVM.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index b30d002aa20..3e2879bf3be 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -1193,6 +1193,7 @@ function(add_lit_target target comment) list(APPEND LIT_ARGS --param build_mode=${CMAKE_CFG_INTDIR}) endif () + set(suffix "") if (WIN32 AND NOT CYGWIN) # llvm-lit needs suffix.py for multiprocess to find a main module. set(suffix .py) |