is_llvm_target_library: recognize libraries without the LLVM prefix.
authorOscar Fuentes <ofv@wanadoo.es>
Tue, 15 Mar 2011 14:53:53 +0000 (14:53 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Tue, 15 Mar 2011 14:53:53 +0000 (14:53 +0000)
commit6704415206343549a58396e57eeeda60238d8eb6
tree29f8e57705e7a6379f3011bae64d7e816a927243
parent5aad8b3e7884b60811ee4c338597d56f732336fb
is_llvm_target_library: recognize libraries without the LLVM prefix.

Without this cmake fails at configuration when some target pass
"native" on LLVM_LINK_COMPONENTS and that is expanded to "X86".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127679 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMConfig.cmake