forked from OSchip/llvm-project
[CMake] Add dependency on Mips target if it is available
The Mips plugins conditionally link the Mips backend, so we need to conditionally add the target as a dependency. This resolves a bot failure from r294515. http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-buildserver/builds/4606/steps/build%20android/logs/stdio llvm-svn: 294521
This commit is contained in:
parent
9dd78f8a6d
commit
a14fbe0cf3
|
|
@ -1,3 +1,7 @@
|
|||
if(Mips IN_LIST LLVM_TARGETS_TO_BUILD)
|
||||
set(mips_target Mips)
|
||||
endif()
|
||||
|
||||
add_lldb_library(lldbPluginInstructionMIPS PLUGIN
|
||||
EmulateInstructionMIPS.cpp
|
||||
|
||||
|
|
@ -10,4 +14,5 @@ add_lldb_library(lldbPluginInstructionMIPS PLUGIN
|
|||
LINK_COMPONENTS
|
||||
MC
|
||||
Support
|
||||
${mips_target}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
if(Mips IN_LIST LLVM_TARGETS_TO_BUILD)
|
||||
set(mips_target Mips)
|
||||
endif()
|
||||
|
||||
add_lldb_library(lldbPluginInstructionMIPS64 PLUGIN
|
||||
EmulateInstructionMIPS64.cpp
|
||||
|
||||
|
|
@ -10,4 +14,5 @@ add_lldb_library(lldbPluginInstructionMIPS64 PLUGIN
|
|||
LINK_COMPONENTS
|
||||
MC
|
||||
Support
|
||||
${mips_target}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue