Skip to content

Commit 25e18d7

Browse files
committed
Update
[ghstack-poisoned]
2 parents 046b989 + 09fd5fc commit 25e18d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,14 +727,17 @@ endif()
727727

728728
# A target containing all configured backends.
729729
add_library(executorch_backends INTERFACE)
730+
add_library(executorch::backends ALIAS executorch_backends)
730731
target_link_libraries(executorch_backends INTERFACE ${_executorch_backends})
731732

732733
# A target containing all configured extensions.
733734
add_library(executorch_extensions INTERFACE)
735+
add_library(executorch::extensions ALIAS executorch_extensions)
734736
target_link_libraries(executorch_extensions INTERFACE ${_executorch_extensions})
735737

736738
# A target containing all configured kernels, with selective build, if enabled.
737739
add_library(executorch_kernels INTERFACE)
740+
add_library(executorch::kernels ALIAS executorch_kernels)
738741
if(NOT EXECUTORCH_SELECT_OPS_YAML STREQUAL ""
739742
OR NOT EXECUTORCH_SELECT_OPS_LIST STREQUAL ""
740743
OR NOT EXECUTORCH_SELECT_OPS_MODEL STREQUAL ""

0 commit comments

Comments
 (0)