[CMake] Allow LLVM_TARGETS_TO_BUILD to accept "Native"
authorChris Bieneman <beanz@apple.com>
Fri, 26 Feb 2016 21:21:40 +0000 (21:21 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 26 Feb 2016 21:21:40 +0000 (21:21 +0000)
commitbe22727598b68f101851bcba13d5433dcca0b7c0
tree5b35cbe21d4625eedea3dd43919c3a300b5aa4b9
parent1d412f6457e073e791858b30ab4006583e076a5b
[CMake] Allow LLVM_TARGETS_TO_BUILD to accept "Native"

This allows a user to specify "Native" as a target when configuring LLVM. Native will resolve to the LLVM_NATIVE_ARCH, which is the target that supports code generation for the host.

llvm-svn: 262070
llvm/CMakeLists.txt