Skip to content

Commit 8b79f3e

Browse files
committed
Fix lint
1 parent c14bbab commit 8b79f3e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

examples/apple/mps/CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ set(_bundled_program_schema__srcs
3939
${_bundled_program_schema_dir}/scalar_type.fbs)
4040

4141
# The include directory that will contain the generated schema headers.
42-
set(_program_schema__include_dir "${CMAKE_BINARY_DIR}/schema/include")
42+
set(_program_schema__include_dir
43+
"${CMAKE_BINARY_DIR}/schema/include/executorch/sdk/bundled_program/schema")
4344

4445
set(_bundled_program_schema__outputs)
4546
foreach(fbs_file ${_bundled_program_schema__srcs})
@@ -52,7 +53,7 @@ add_custom_command(
5253
OUTPUT ${_bundled_program_schema__outputs}
5354
COMMAND
5455
${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --gen-mutable --scoped-enums -o
55-
"${_program_schema__include_dir}/executorch/sdk/bundled_program/schema" ${_bundled_program_schema__srcs}
56+
${_program_schema__include_dir} ${_bundled_program_schema__srcs}
5657
WORKING_DIRECTORY ${EXECUTORCH_ROOT}
5758
DEPENDS ${FLATC_EXECUTABLE} ${_bundled_program_schema__srcs}
5859
COMMENT "Generating bundled_program headers"
@@ -69,7 +70,9 @@ set(mps_executor_runner_libs "-framework Foundation"
6970
"-weak_framework MetalPerformanceShadersGraph"
7071
"-weak_framework Metal")
7172
list(TRANSFORM _mps_executor_runner__srcs PREPEND "${EXECUTORCH_ROOT}/")
72-
add_executable(mps_executor_runner ${_mps_executor_runner__srcs} ${_bundled_program_schema__outputs})
73+
add_executable(mps_executor_runner
74+
${_mps_executor_runner__srcs}
75+
${_bundled_program_schema__outputs})
7376
target_include_directories(
7477
mps_executor_runner INTERFACE ${CMAKE_BINARY_DIR}/schema/include/
7578
${EXECUTORCH_ROOT}/third-party/flatbuffers/include)

0 commit comments

Comments
 (0)