diff --git a/core/general-server/CMakeLists.txt b/core/general-server/CMakeLists.txt index 334b31263dd448ba3475a4105446e5b04ab1ff8d..89c18d965297b25c9bd094ff370ba335c0589f85 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()