From aab72f89b19ae38ea7ac3b7b51aae68fc10aef4f Mon Sep 17 00:00:00 2001 From: Kern Handa Date: Mon, 6 Jan 2020 10:01:59 +0100 Subject: [PATCH] [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 --- mlir/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt index be76e8d89eb0..1f30d6834de6 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"