diff --git a/tools/llvm-ld/CMakeLists.txt b/tools/llvm-ld/CMakeLists.txt index 2ae4a1dba38..370bcb4abf5 100644 --- a/tools/llvm-ld/CMakeLists.txt +++ b/tools/llvm-ld/CMakeLists.txt @@ -4,3 +4,5 @@ add_llvm_tool(llvm-ld Optimize.cpp llvm-ld.cpp ) + +add_dependencies(llvm-ld llvm-stub)