llvm/llvm/lib/Bitcode/Reader/CMakeLists.txt

add_llvm_component_library(LLVMBitReader
  BitcodeAnalyzer.cpp
  BitReader.cpp
  BitcodeReader.cpp
  MetadataLoader.cpp
  ValueList.cpp

  ADDITIONAL_HEADER_DIRS
  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Bitcode

  DEPENDS
  intrinsics_gen

  LINK_COMPONENTS
  BitstreamReader
  Core
  Support
  TargetParser
  )