aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKern Handa <kern.handa@gmail.com>2020-01-06 10:01:59 +0100
committerAlex Zinenko <zinenko@google.com>2020-01-06 10:02:25 +0100
commitaab72f89b19ae38ea7ac3b7b51aae68fc10aef4f (patch)
treeb472dc2abe88e14ee087df8cb2a16defcc373d90
parent103a58c8f2b0a62a42f6eedcdef38222ff22a538 (diff)
downloadllvm-aab72f89b19ae38ea7ac3b7b51aae68fc10aef4f.zip
llvm-aab72f89b19ae38ea7ac3b7b51aae68fc10aef4f.tar.gz
llvm-aab72f89b19ae38ea7ac3b7b51aae68fc10aef4f.tar.bz2
[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
-rw-r--r--mlir/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt
index be76e8d..1f30d68 100644
--- a/mlir/CMakeLists.txt
+++ b/mlir/CMakeLists.txt
@@ -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"