[mlir][cmake] Fix mlir target export (#153341)
In https://github.com/llvm/llvm-project/pull/152195, target export was accidentally moved inside a conditional, but it should have been left outside. This patch undoes that change.
This commit is contained in:
parent
a8f1f1b41f
commit
ada191136b
@ -641,8 +641,8 @@ function(add_mlir_library_install name)
|
||||
COMPONENT ${name})
|
||||
endif()
|
||||
set_property(GLOBAL APPEND PROPERTY MLIR_ALL_LIBS ${name})
|
||||
set_property(GLOBAL APPEND PROPERTY MLIR_EXPORTS ${name})
|
||||
endif()
|
||||
set_property(GLOBAL APPEND PROPERTY MLIR_EXPORTS ${name})
|
||||
endfunction()
|
||||
|
||||
# Declare an mlir library which is part of the public C-API.
|
||||
|
Loading…
x
Reference in New Issue
Block a user