[Mlir-commits] [mlir] [mlir][cmake] export list of CAPI libs (PR #71722)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Nov 8 10:41:06 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Maksim Levental (makslevental)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/71722.diff


1 Files Affected:

- (modified) mlir/cmake/modules/MLIRConfig.cmake.in (+1) 


``````````diff
diff --git a/mlir/cmake/modules/MLIRConfig.cmake.in b/mlir/cmake/modules/MLIRConfig.cmake.in
index d3324d55c848e05..43a10c15090b57e 100644
--- a/mlir/cmake/modules/MLIRConfig.cmake.in
+++ b/mlir/cmake/modules/MLIRConfig.cmake.in
@@ -23,6 +23,7 @@ set_property(GLOBAL PROPERTY MLIR_DIALECT_LIBS "@MLIR_DIALECT_LIBS@")
 set_property(GLOBAL PROPERTY MLIR_CONVERSION_LIBS "@MLIR_CONVERSION_LIBS@")
 set_property(GLOBAL PROPERTY MLIR_EXTENSION_LIBS "@MLIR_EXTENSION_LIBS@")
 set_property(GLOBAL PROPERTY MLIR_TRANSLATION_LIBS "@MLIR_TRANSLATION_LIBS@")
+set_property(GLOBAL PROPERTY MLIR_UPSTREAM_CAPI_LIBRARIES "@MLIR_CAPI_LIBRARIES@")
 
 # Provide all our library targets to users.
 # More specifically, configure MLIR so that it can be directly included in a top

``````````

</details>


https://github.com/llvm/llvm-project/pull/71722


More information about the Mlir-commits mailing list