From 96e5ac119a521e646236450192667dfc261a1ada Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 15 Sep 2017 01:18:46 +0000 Subject: [PATCH] [cmake] Fix a variable shadowing bug llvm-svn: 313331 --- cmake/modules/AddLLVM.cmake | 1 + 1 file changed, 1 insertion(+) 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)