Skip to content

Commit ada1911

Browse files
authored
[mlir][cmake] Fix mlir target export (#153341)
In #152195, target export was accidentally moved inside a conditional, but it should have been left outside. This patch undoes that change.
1 parent a8f1f1b commit ada1911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/cmake/modules/AddMLIR.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,8 @@ function(add_mlir_library_install name)
641641
COMPONENT ${name})
642642
endif()
643643
set_property(GLOBAL APPEND PROPERTY MLIR_ALL_LIBS ${name})
644-
set_property(GLOBAL APPEND PROPERTY MLIR_EXPORTS ${name})
645644
endif()
645+
set_property(GLOBAL APPEND PROPERTY MLIR_EXPORTS ${name})
646646
endfunction()
647647

648648
# Declare an mlir library which is part of the public C-API.

0 commit comments

Comments
 (0)