From: Benjamin Kramer Date: Sun, 16 Aug 2009 09:44:27 +0000 (+0000) Subject: Fix the MSVC build again. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0bbbf7ecae2d1608ba1dce1834c8614a2d63d863;p=oota-llvm.git Fix the MSVC build again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79186 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 2c142dd2fd1..205ddb76639 100755 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -17,7 +17,7 @@ macro(add_llvm_library name) # generation is triggered by the main LLVM target library. Necessary # for parallel builds: if( CURRENT_LLVM_TARGET ) - add_dependencies(${name} LLVM${CURRENT_LLVM_TARGET}) + add_dependencies(${name} ${CURRENT_LLVM_TARGET}) endif() endmacro(add_llvm_library name)