summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules')
-rwxr-xr-xcmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 2c142dd2fd..205ddb7663 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)