Skip to content

Commit 8467392

Browse files
committed
Fix devtools CMake build failure on Windows
ghstack-source-id: 13d4a8a ghstack-comment-id: 3169574985 Pull-Request: #13251
1 parent 4eea791 commit 8467392

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

devtools/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# The include directory that will contain the generated schema headers.
88
set(DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE ${CMAKE_BINARY_DIR}/devtools/include)
99
set(DEVTOOLS_INCLUDE_DIR
10-
$<BUILD_INTERFACE:${DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE}>
10+
"$<BUILD_INTERFACE:${DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE}>"
1111
)
1212

1313
add_subdirectory(etdump)

devtools/bundled_program/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ foreach(schema_file ${_schema_files})
2020
)
2121
endforeach()
2222

23-
file(MAKE_DIRECTORY ${DEVTOOLS_INCLUDE_DIR}/executorch/devtools/bundled_program)
23+
file(MAKE_DIRECTORY ${DEVTOOLS_INCLUDE_DIR_NO_BUILD_INTERFACE}/executorch/devtools/bundled_program)
2424
add_custom_command(
2525
OUTPUT ${_schema_outputs}
2626
COMMAND

0 commit comments

Comments
 (0)