File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 55# LICENSE file in the root directory of this source tree.
66
77# The include directory that will contain the generated schema headers.
8+ set (DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE ${CMAKE_BINARY_DIR} /devtools/include )
89set (DEVTOOLS_INCLUDE_DIR
9- $<BUILD_INTERFACE:${CMAKE_BINARY_DIR} /devtools/ include >
10+ $<BUILD_INTERFACE:${DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE} >
1011)
1112
1213add_subdirectory (etdump)
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ foreach(schema_file ${_schema_files})
2121 list (APPEND _schema_outputs "${DEVTOOLS_INCLUDE_DIR} /executorch/devtools/etdump/${generated_builder} " )
2222endforeach ()
2323
24- file (MAKE_DIRECTORY ${DEVTOOLS_INCLUDE_DIR } /executorch/devtools/etdump)
24+ file (MAKE_DIRECTORY ${DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE } /executorch/devtools/etdump)
2525add_custom_command (
2626 OUTPUT ${_schema_outputs}
2727 COMMAND
2828 # Note that the flatcc project actually writes its outputs into the source
2929 # tree instead of under the binary directory, and there's no way to change
3030 # that behavior.
3131 flatcc_cli -cwr -o
32- ${DEVTOOLS_INCLUDE_DIR } /executorch/devtools/etdump
32+ ${DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE } /executorch/devtools/etdump
3333 ${_etdump_schema__srcs}
3434 DEPENDS flatcc_cli ${_etdump_schema__srcs}
3535 COMMENT "Generating etdump headers"
You can’t perform that action at this time.
0 commit comments