[CMake] Fix modules build after DWARFLinker reorganization

Create a dedicate module for the DWARFLinker and make it depend on
intrinsics gen.
This commit is contained in:
Jonas Devlieghere 2020-01-10 11:05:55 -08:00
parent 9cd985815a
commit 815a3f5433
2 changed files with 9 additions and 0 deletions

View File

@ -152,6 +152,13 @@ module LLVM_DebugInfo_CodeView {
textual header "DebugInfo/CodeView/CodeViewSymbols.def"
}
module LLVM_DWARFLinker {
requires cplusplus
umbrella "DWARFLinker"
module * { export * }
}
module LLVM_ExecutionEngine {
requires cplusplus

View File

@ -3,4 +3,6 @@ add_llvm_component_library(LLVMDWARFLinker
DWARFLinkerDeclContext.cpp
DWARFLinker.cpp
DEPENDS
intrinsics_gen
)