Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bolt/tools/driver/CMakeLists.txt')
-rw-r--r--bolt/tools/driver/CMakeLists.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/bolt/tools/driver/CMakeLists.txt b/bolt/tools/driver/CMakeLists.txt
index 462381bd791a..2338ccec11d2 100644
--- a/bolt/tools/driver/CMakeLists.txt
+++ b/bolt/tools/driver/CMakeLists.txt
@@ -1,8 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
- BOLTProfile
- BOLTRewrite
- BOLTUtils
MC
Object
Support
@@ -21,6 +18,13 @@ add_llvm_tool(llvm-bolt
${BOLT_DRIVER_DEPS}
)
+target_link_libraries(llvm-bolt
+ PRIVATE
+ LLVMBOLTProfile
+ LLVMBOLTRewrite
+ LLVMBOLTUtils
+ )
+
add_llvm_tool_symlink(perf2bolt llvm-bolt)
add_llvm_tool_symlink(llvm-boltdiff llvm-bolt)