File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,18 @@ add_subdirectory(${EXECUTORCH_ROOT}/examples/third-party/fbjni
23
23
set (executorch_DIR ${CMAKE_CURRENT_BINARY_DIR} /../../lib/cmake/ExecuTorch )
24
24
find_package (executorch CONFIG REQUIRED )
25
25
target_link_options_shared_lib (executorch )
26
- target_link_options_shared_lib (portable_ops_lib )
27
26
28
27
set (link_libraries )
29
28
list (APPEND link_libraries extension_data_loader extension_module executorch
30
- portable_ops_lib portable_kernels fbjni )
29
+ fbjni )
31
30
32
31
if (TARGET optimized_native_cpu_ops_lib )
33
32
list (APPEND link_libraries optimized_native_cpu_ops_lib optimized_kernels
34
- cpublas eigen_blas )
33
+ portable_kernels cpublas eigen_blas )
35
34
target_link_options_shared_lib (optimized_native_cpu_ops_lib )
35
+ else ()
36
+ list (APPEND link_libraries portable_ops_lib portable_kernels )
37
+ target_link_options_shared_lib (portable_ops_lib )
36
38
endif ()
37
39
if (TARGET qnn_executorch_backend )
38
40
list (APPEND link_libraries qnn_executorch_backend )
You can’t perform that action at this time.
0 commit comments