From 43061456840ad2d217e7a5520fc55dfca78e8d96 Mon Sep 17 00:00:00 2001 From: zhoufeng Date: Tue, 18 May 2021 14:12:09 +0800 Subject: [PATCH] fix ut comiple task pb not found Signed-off-by: zhoufeng --- tests/ut/cpp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ut/cpp/CMakeLists.txt b/tests/ut/cpp/CMakeLists.txt index a885016454d..478e84fb336 100644 --- a/tests/ut/cpp/CMakeLists.txt +++ b/tests/ut/cpp/CMakeLists.txt @@ -180,7 +180,8 @@ list(REMOVE_ITEM MINDSPORE_SRC_LIST "../../../mindspore/ccsrc/backend/optimizer/ add_library(_ut_mindspore_obj OBJECT ${MINDSPORE_SRC_LIST}) add_library(_ut_ut_obj OBJECT ${UT_SRCS}) -add_dependencies(_ut_ut_obj engine-cache-server graph) +add_dependencies(_ut_mindspore_obj graph) +add_dependencies(_ut_ut_obj engine-cache-server) add_executable(ut_tests $ $)