[CMake] Allow TableGen.cmake to be included multiple times
authorChris Bieneman <beanz@apple.com>
Tue, 25 Jul 2017 20:53:31 +0000 (20:53 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 25 Jul 2017 20:53:31 +0000 (20:53 +0000)
commit019b5a03c6ac9b1e9d1f44c3e8ddb406bf9cf2bb
tree7623c34fc7190bab37fe3474f9fa09e9d16737c7
parent6096f542d19d7e85e837bcd1c6facd0ef49a0398
[CMake] Allow TableGen.cmake to be included multiple times

This patch allows TableGen.cmake to be safely included multiple times in sub-projects.

llvm-svn: 309029
llvm/cmake/modules/TableGen.cmake