diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-29 20:23:34 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-29 20:23:34 +0000 |
| commit | 3566477679b4873c63f0b81a77af8749646f71e4 (patch) | |
| tree | 610635a21b6c8cd094f74764f01f12d19eb6e36f /llvm/lib | |
| parent | f4016fdf7140f19f08425dc5e6bce983a0a61f12 (diff) | |
| download | bcm5719-llvm-3566477679b4873c63f0b81a77af8749646f71e4.tar.gz bcm5719-llvm-3566477679b4873c63f0b81a77af8749646f71e4.zip | |
On mac, it seems the MC disassembler is actually using the targetinfo
for targets that don't have an MC-ized disassembler. I'm suspicious that
this shouldn't actually be happening, but hoping to fix the CMake build
on macs first, and investigate why second.
llvm-svn: 136508
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/MC/MCDisassembler/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCDisassembler/CMakeLists.txt b/llvm/lib/MC/MCDisassembler/CMakeLists.txt index 9ccd1f4a9e6..45ec75d00e4 100644 --- a/llvm/lib/MC/MCDisassembler/CMakeLists.txt +++ b/llvm/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) |

