aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-nm/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-nm/CMakeLists.txt')
-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 c771155..45cf1b6 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)