aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/opt/CMakeLists.txt2
-rw-r--r--tools/pnacl-freeze/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/opt/CMakeLists.txt b/tools/opt/CMakeLists.txt
index 9d41db9dda..dac8593c5a 100644
--- a/tools/opt/CMakeLists.txt
+++ b/tools/opt/CMakeLists.txt
@@ -1,4 +1,4 @@
-set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser bitwriter naclbitwriter instrumentation naclanalysis nacltransforms scalaropts objcarcopts ipo vectorize)
+set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser bitwriter naclbitwriter naclbitreader instrumentation naclanalysis nacltransforms scalaropts objcarcopts ipo vectorize)
add_llvm_tool(opt
AnalysisWrappers.cpp
diff --git a/tools/pnacl-freeze/CMakeLists.txt b/tools/pnacl-freeze/CMakeLists.txt
index 18b3f38f74..fca58c7d5a 100644
--- a/tools/pnacl-freeze/CMakeLists.txt
+++ b/tools/pnacl-freeze/CMakeLists.txt
@@ -1,4 +1,4 @@
-set(LLVM_LINK_COMPONENTS bitreader naclbitwriter)
+set(LLVM_LINK_COMPONENTS bitreader naclbitwriter naclbitreader)
add_llvm_tool(pnacl-freeze
pnacl-freeze.cpp