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
This commit is contained in:
Chandler Carruth 2011-07-29 20:23:34 +00:00
parent f75a9b223c
commit 9090208fd7

View File

@ -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)