summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ModuleMaker
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/ModuleMaker')
-rw-r--r--llvm/examples/ModuleMaker/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/ModuleMaker/CMakeLists.txt b/llvm/examples/ModuleMaker/CMakeLists.txt
index 735942d775d..81e911560bd 100644
--- a/llvm/examples/ModuleMaker/CMakeLists.txt
+++ b/llvm/examples/ModuleMaker/CMakeLists.txt
@@ -1,5 +1,5 @@
+set(LLVM_LINK_COMPONENTS bitwriter)
+
add_llvm_example(ModuleMaker
ModuleMaker.cpp
)
-
-target_link_libraries(ModuleMaker LLVMBitWriter LLVMCore)
OpenPOWER on IntegriCloud