[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:
Amir Ayupov
2023-02-01 12:35:46 -08:00
parent 135cea495b
commit 4177e89354

View File

@@ -7,6 +7,9 @@ add_llvm_library(LLVMBOLTUtils
LINK_LIBS
${LLVM_PTHREAD_LIB}
DEPENDS
llvm_vcsrevision_h
LINK_COMPONENTS
Support
)