[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 #60460. Reviewed By: #bolt, ayermolo Differential Revision: https://reviews.llvm.org/D143101
This commit is contained in:
@@ -7,6 +7,9 @@ add_llvm_library(LLVMBOLTUtils
|
||||
LINK_LIBS
|
||||
${LLVM_PTHREAD_LIB}
|
||||
|
||||
DEPENDS
|
||||
llvm_vcsrevision_h
|
||||
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user