This is an automated email from the ASF dual-hosted git repository.
masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 802be0d [Hexagon] Correct use of wrong cmake variable (#10769)
802be0d is described below
commit 802be0dc966cecad5a9597690d943de92b8ae0d5
Author: Krzysztof Parzyszek <[email protected]>
AuthorDate: Fri Mar 25 15:50:47 2022 -0500
[Hexagon] Correct use of wrong cmake variable (#10769)
The code should be checking DSPRPC_LIB_DIRS instead of REMOTE_DIR.
---
apps/cpp_rpc/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/cpp_rpc/CMakeLists.txt b/apps/cpp_rpc/CMakeLists.txt
index 0cf5b0d..1de0b6e 100644
--- a/apps/cpp_rpc/CMakeLists.txt
+++ b/apps/cpp_rpc/CMakeLists.txt
@@ -49,7 +49,7 @@ if (BUILD_FOR_ANDROID AND USE_HEXAGON_SDK)
get_hexagon_sdk_property("${USE_HEXAGON_SDK}" "${USE_HEXAGON_ARCH}"
DSPRPC_LIB DSPRPC_LIB_DIRS
)
- if(REMOTE_DIR)
+ if(DSPRPC_LIB_DIRS)
link_directories(${DSPRPC_LIB_DIRS})
else()
message(WARNING "Could not locate some Hexagon SDK components")