Skip to content

Commit 0216bf4

Browse files
committed
Link QNN backend to pybinding lib when built
ghstack-source-id: d25cb2e ghstack-comment-id: 3194008742 Pull-Request: #13467
1 parent 2e4fdd5 commit 0216bf4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,10 @@ if(EXECUTORCH_BUILD_PYBIND)
831831
list(APPEND _dep_libs openvino_backend)
832832
endif()
833833

834+
if(EXECUTORCH_BUILD_QNN)
835+
list(APPEND _dep_libs qnn_executorch_backend)
836+
endif()
837+
834838
if(EXECUTORCH_BUILD_XNNPACK)
835839
# need to explicitly specify XNNPACK and xnnpack-microkernels-prod here
836840
# otherwise uses XNNPACK and microkernel-prod symbols from libtorch_cpu

0 commit comments

Comments
 (0)