Files
clang-p2996/bolt/lib/Utils/CMakeLists.txt
Amir Ayupov 4177e89354 [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
2023-02-01 12:57:50 -08:00

16 lines
197 B
CMake

add_llvm_library(LLVMBOLTUtils
CommandLineOpts.cpp
Utils.cpp
DISABLE_LLVM_LINK_LLVM_DYLIB
LINK_LIBS
${LLVM_PTHREAD_LIB}
DEPENDS
llvm_vcsrevision_h
LINK_COMPONENTS
Support
)