forked from mindspore-Ecosystem/mindspore
fix ut comiple task pb not found
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
This commit is contained in:
parent
f71a490400
commit
4306145684
|
@ -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 $<TARGET_OBJECTS:_ut_ut_obj>
|
||||
$<TARGET_OBJECTS:_ut_mindspore_obj>)
|
||||
|
||||
|
|
Loading…
Reference in New Issue