aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 2c142dd..205ddb7 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)