aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-nm
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-nm')
-rw-r--r--tools/llvm-nm/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-nm/CMakeLists.txt b/tools/llvm-nm/CMakeLists.txt
index c771155702..45cf1b67f9 100644
--- a/tools/llvm-nm/CMakeLists.txt
+++ b/tools/llvm-nm/CMakeLists.txt
@@ -1,5 +1,5 @@
+set(LLVM_LINK_COMPONENTS archive bitreader)
+
add_llvm_tool(llvm-nm
llvm-nm.cpp
)
-
-target_link_libraries(llvm-nm LLVMArchive LLVMBitReader)