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

Maksim Levental llvmlistbot at llvm.org
Wed Nov 8 10:40:37 PST 2023


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

None

>From 7663c8298a5cba0b126ce06d55abd134c6b5cb39 Mon Sep 17 00:00:00 2001
From: max <maksim.levental at gmail.com>
Date: Wed, 8 Nov 2023 12:40:06 -0600
Subject: [PATCH] [mlir][cmake] export list of CAPI libs

---
 mlir/cmake/modules/MLIRConfig.cmake.in | 1 +
 1 file changed, 1 insertion(+)

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



More information about the Mlir-commits mailing list