Skip to content

Commit 6db8726

Browse files
kirklandsigncmodi-meta
authored andcommitted
linter
1 parent 12993c8 commit 6db8726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/android/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ if(EXECUTORCH_BUILD_LLAMA_JNI)
176176
${EXECUTORCH_ROOT}/examples/mediatek/executor_runner/
177177
${EXECUTORCH_ROOT}/examples/mediatek/executor_runner/llama_runner
178178
)
179-
ADD_LIBRARY(libneuron_buffer_allocator SHARED IMPORTED)
180-
SET_PROPERTY(TARGET libneuron_buffer_allocator PROPERTY IMPORTED_LOCATION ${NEURON_BUFFER_ALLOCATOR_LIB})
179+
add_library(libneuron_buffer_allocator SHARED IMPORTED)
180+
set_property(TARGET libneuron_buffer_allocator PROPERTY IMPORTED_LOCATION ${NEURON_BUFFER_ALLOCATOR_LIB})
181181
list(APPEND link_libraries neuron_backend libneuron_buffer_allocator)
182182
target_compile_definitions(executorch_jni PRIVATE EXECUTORCH_BUILD_MEDIATEK=1)
183183
endif()

0 commit comments

Comments
 (0)