Skip to content

Commit 4177e89

Browse files
committed
[BOLT][CMake] Add dependency on llvm_vcsrevision_h
The dependence is needed since Utils includes VCSRevision.h, and other LLVM components that include this header also have the llvm_vcsrevision_h dependency. Fixes llvm#60460. Reviewed By: #bolt, ayermolo Differential Revision: https://reviews.llvm.org/D143101
1 parent 135cea4 commit 4177e89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bolt/lib/Utils/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ add_llvm_library(LLVMBOLTUtils
77
LINK_LIBS
88
${LLVM_PTHREAD_LIB}
99

10+
DEPENDS
11+
llvm_vcsrevision_h
12+
1013
LINK_COMPONENTS
1114
Support
1215
)

0 commit comments

Comments
 (0)