Skip to content

Commit

Permalink
fix: only copy libqnnhtpv73.cat for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed May 3, 2024
1 parent 03571c7 commit e1c07b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ if (LLAMA_QNN)

file(COPY ${QNN_SO_FILES} DESTINATION ${PLATFORM_BINARY_DIR})

file(
GLOB QNN_EXTRA_FILES
"${QNN_ROOT}/lib/hexagon-v*/unsigned/libQnn*Skel.so"
"${QNN_ROOT}/lib/hexagon-v73/unsigned/libqnnhtpv73.cat"
)
file(GLOB QNN_EXTRA_FILES "${QNN_ROOT}/lib/hexagon-v*/unsigned/libQnn*Skel.so")

if (PLATFORM STREQUAL "win32")
list(APPEND QNN_EXTRA_FILES "${QNN_ROOT}/lib/hexagon-v73/unsigned/libqnnhtpv73.cat")
endif()

file(COPY ${QNN_EXTRA_FILES} DESTINATION ${PLATFORM_BINARY_DIR})

Expand Down

0 comments on commit e1c07b8

Please sign in to comment.