cmake: When using LLVM_DISTRIBUTION_COMPONENTS, adjust LLVMExports accordingly
authorJustin Bogner <mail@justinbogner.com>
Fri, 4 Nov 2016 21:55:23 +0000 (21:55 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 4 Nov 2016 21:55:23 +0000 (21:55 +0000)
commit4ce3e0c31ad6e40ee744fb879eeed2d3f3d0162a
tree48f086790ea8892bbf2cb25b20bb6faca23904bb
parent7c6d289d66dfc1c1b489783f1496623dadfe36a8
cmake: When using LLVM_DISTRIBUTION_COMPONENTS, adjust LLVMExports accordingly

This Makes sure we only export targets that we're distributing, since
cmake will fail to import the file otherwise due to missing targets.

llvm-svn: 286024
llvm/cmake/modules/AddLLVM.cmake
llvm/cmake/modules/TableGen.cmake