From 62c7d80571f9c7c90713aaff5e95a1db75734ad3 Mon Sep 17 00:00:00 2001 From: ShiningZhang Date: Thu, 16 Dec 2021 10:47:04 +0800 Subject: [PATCH] Update CMakeLists.txt for ascend310 --- core/general-server/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/general-server/CMakeLists.txt b/core/general-server/CMakeLists.txt index 334b3126..89c18d96 100644 --- a/core/general-server/CMakeLists.txt +++ b/core/general-server/CMakeLists.txt @@ -31,7 +31,7 @@ target_link_libraries(serving pdserving) target_link_libraries(serving cube-api) target_link_libraries(serving utils) target_link_libraries(serving utf8proc) -if(WITH_ASCEND_CL) +if(WITH_ASCEND_CL AND NOT WITH_LITE) target_link_libraries(serving ascendcl acl_op_compiler) endif() -- GitLab