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

This is needed to consume mlir after it has been installed of the source
tree. Without this, consuming mlir results a build error.

Differential Revision: https://reviews.llvm.org/D72232
This commit is contained in:
Kern Handa
2020-01-06 10:01:59 +01:00
committed by Alex Zinenko
parent 103a58c8f2
commit aab72f89b1

View File

@@ -89,6 +89,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
DESTINATION include
COMPONENT mlir-headers
FILES_MATCHING
PATTERN "*.def"
PATTERN "*.h"
PATTERN "*.inc"
PATTERN "*.td"