File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ get_property(MLIR_DIALECT_LIBS GLOBAL PROPERTY MLIR_DIALECT_LIBS)
26
26
get_property (MLIR_CONVERSION_LIBS GLOBAL PROPERTY MLIR_CONVERSION_LIBS )
27
27
get_property (MLIR_EXTENSION_LIBS GLOBAL PROPERTY MLIR_EXTENSION_LIBS )
28
28
get_property (MLIR_TRANSLATION_LIBS GLOBAL PROPERTY MLIR_TRANSLATION_LIBS )
29
+ get_property (MLIR_CAPI_LIBS GLOBAL PROPERTY MLIR_CAPI_LIBS )
29
30
30
31
# Generate MlirConfig.cmake for the build tree.
31
32
set (MLIR_CONFIG_CMAKE_DIR "${mlir_cmake_builddir} " )
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ set_property(GLOBAL PROPERTY MLIR_DIALECT_LIBS "@MLIR_DIALECT_LIBS@")
23
23
set_property (GLOBAL PROPERTY MLIR_CONVERSION_LIBS "@MLIR_CONVERSION_LIBS@" )
24
24
set_property (GLOBAL PROPERTY MLIR_EXTENSION_LIBS "@MLIR_EXTENSION_LIBS@" )
25
25
set_property (GLOBAL PROPERTY MLIR_TRANSLATION_LIBS "@MLIR_TRANSLATION_LIBS@" )
26
+ set_property (GLOBAL PROPERTY MLIR_UPSTREAM_CAPI_LIBS "@MLIR_CAPI_LIBS@" )
26
27
27
28
# Provide all our library targets to users.
28
29
# More specifically, configure MLIR so that it can be directly included in a top
Original file line number Diff line number Diff line change 1
- # For upstream, we accumulate all libraries into the MLIR_CAPI_LIBRARIES
1
+ # For upstream, we accumulate all libraries into the MLIR_CAPI_LIBS
2
2
# property via a custom wrapper function. This is then used to create an
3
3
# aggregate below.
4
- set_property (GLOBAL APPEND PROPERTY MLIR_CAPI_LIBRARIES )
4
+ set_property (GLOBAL APPEND PROPERTY MLIR_CAPI_LIBS )
5
5
function (add_mlir_upstream_c_api_library name )
6
6
add_mlir_public_c_api_library (${name} ${ARGN} )
7
- set_property (GLOBAL APPEND PROPERTY MLIR_CAPI_LIBRARIES ${name} )
7
+ set_property (GLOBAL APPEND PROPERTY MLIR_CAPI_LIBS ${name} )
8
8
endfunction ()
9
9
10
10
add_subdirectory (Debug )
@@ -22,7 +22,7 @@ endif()
22
22
# Build the optional CAPI dylib.
23
23
if (MLIR_BUILD_MLIR_C_DYLIB )
24
24
message (STATUS "Building MLIR-C dylib" )
25
- get_property (_capi_libraries GLOBAL PROPERTY MLIR_CAPI_LIBRARIES )
25
+ get_property (_capi_libraries GLOBAL PROPERTY MLIR_CAPI_LIBS )
26
26
add_mlir_aggregate (MLIR-C
27
27
SHARED
28
28
EMBED_LIBS
You can’t perform that action at this time.
0 commit comments