Skip to content

Commit 2574e02

Browse files
tomeuvclaude
andcommitted
cmake: install missing runtime/backend/ headers
The backend interface headers (backend_execution_context.h, backend_init_context.h, interface.h, etc.) were not installed, preventing out-of-tree consumers from using the backend API. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 77a3a5f commit 2574e02

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,12 @@ install(
596596
FILES "${CMAKE_CURRENT_BINARY_DIR}/include/executorch/runtime/core/version.h"
597597
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/runtime/core
598598
)
599+
install(
600+
DIRECTORY runtime/backend/
601+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/runtime/backend
602+
FILES_MATCHING
603+
PATTERN "*.h"
604+
)
599605
install(
600606
DIRECTORY runtime/executor/
601607
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/runtime/executor

0 commit comments

Comments
 (0)