[Mlir-commits] [mlir] 8fa4d4a - [MLIR] Ensure that out-of-tree users have an mlir-generic-headers target

Stephen Neuendorffer llvmlistbot at llvm.org
Fri May 1 22:21:23 PDT 2020


Author: Stephen Neuendorffer
Date: 2020-05-01T22:19:58-07:00
New Revision: 8fa4d4a43cc762dd41018bd5959e0302cd908114

URL: https://github.com/llvm/llvm-project/commit/8fa4d4a43cc762dd41018bd5959e0302cd908114
DIFF: https://github.com/llvm/llvm-project/commit/8fa4d4a43cc762dd41018bd5959e0302cd908114.diff

LOG: [MLIR] Ensure that out-of-tree users have an mlir-generic-headers target

Prior change introduces this target, but we need it for out-of-tree users
too

Added: 
    

Modified: 
    mlir/cmake/modules/MLIRConfig.cmake.in

Removed: 
    


################################################################################
diff  --git a/mlir/cmake/modules/MLIRConfig.cmake.in b/mlir/cmake/modules/MLIRConfig.cmake.in
index da518762919c..e8822e50ad55 100644
--- a/mlir/cmake/modules/MLIRConfig.cmake.in
+++ b/mlir/cmake/modules/MLIRConfig.cmake.in
@@ -32,6 +32,9 @@ endif()
 if(NOT TARGET mlir-headers)
   add_custom_target(mlir-headers)
 endif()
+if(NOT TARGET mlir-generic-headers)
+  add_custom_target(mlir-generic-headers)
+endif()
 if(NOT TARGET mlir-doc)
   add_custom_target(mlir-doc)
 endif()


        


More information about the Mlir-commits mailing list