[mlir] Update mlir/CMakeLists.txt to install *.td files

Currently when you build the `install` target, TableGen files don't get
installed.

TableGen files are needed when authoring new MLIR dialects, but right
now they're missing when using the pre-built binaries.

Differential Revision: https://reviews.llvm.org/D71958
This commit is contained in:
Kern Handa 2019-12-29 18:04:09 +01:00 committed by Alex Zinenko
parent 0460a6bdf2
commit cde071c4bf

View file

@ -86,6 +86,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
FILES_MATCHING
PATTERN "*.h"
PATTERN "*.inc"
PATTERN "*.td"
PATTERN "LICENSE.TXT"
)