llvm.org GIT mirror llvm / 7fd026b
[CMake] LTO depends on intrinsics_gen lto.cpp has the following include chain: llvm/Bitcode/BitcodeReader.h llvm/IR/ModuleSummaryIndex.h llvm/IR/Module.h llvm/IR/Function.h llvm/IR/Argument.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means LTO needs to depend on intrinsics_gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287393 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1515
1616 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/lto.exports)
1717
18 add_llvm_library(LTO SHARED ${SOURCES})
18 add_llvm_library(LTO SHARED ${SOURCES} DEPENDS intrinsics_gen)
1919
2020 install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h
2121 DESTINATION include/llvm-c