diff options
-rw-r--r-- | lib/MC/MCDisassembler/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCDisassembler/CMakeLists.txt b/lib/MC/MCDisassembler/CMakeLists.txt index 9ccd1f4..45ec75d 100644 --- a/lib/MC/MCDisassembler/CMakeLists.txt +++ b/lib/MC/MCDisassembler/CMakeLists.txt @@ -17,5 +17,7 @@ foreach(t ${LLVM_TARGETS_TO_BUILD}) set(td ${LLVM_MAIN_SRC_DIR}/lib/Target/${t}) if(EXISTS ${td}/Disassembler/CMakeLists.txt) add_llvm_library_dependencies(LLVMMCDisassembler "LLVM${t}Disassembler") + elseif(EXISTS ${td}/TargetInfo/CMakeLists.txt) + add_llvm_library_dependencies(LLVMMCDisassembler "LLVM${t}Info") endif() endforeach(t) |