We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12993c8 commit 6db8726Copy full SHA for 6db8726
extension/android/CMakeLists.txt
@@ -176,8 +176,8 @@ if(EXECUTORCH_BUILD_LLAMA_JNI)
176
${EXECUTORCH_ROOT}/examples/mediatek/executor_runner/
177
${EXECUTORCH_ROOT}/examples/mediatek/executor_runner/llama_runner
178
)
179
- ADD_LIBRARY(libneuron_buffer_allocator SHARED IMPORTED)
180
- SET_PROPERTY(TARGET libneuron_buffer_allocator PROPERTY IMPORTED_LOCATION ${NEURON_BUFFER_ALLOCATOR_LIB})
+ add_library(libneuron_buffer_allocator SHARED IMPORTED)
+ set_property(TARGET libneuron_buffer_allocator PROPERTY IMPORTED_LOCATION ${NEURON_BUFFER_ALLOCATOR_LIB})
181
list(APPEND link_libraries neuron_backend libneuron_buffer_allocator)
182
target_compile_definitions(executorch_jni PRIVATE EXECUTORCH_BUILD_MEDIATEK=1)
183
endif()
0 commit comments