提交 38109a38 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1957 fix cmakelists

Merge pull request !1957 from jiangjinsheng/issue_merge
...@@ -135,7 +135,7 @@ endif() ...@@ -135,7 +135,7 @@ endif()
if (ENABLE_GE) if (ENABLE_GE)
if(ENABLE_TRAIN) if(ENABLE_TRAIN)
target_link_libraries(mindspore ge_client_train hccl) target_link_libraries(mindspore ge_runner hccl)
else () else ()
target_link_libraries(mindspore ge_client) target_link_libraries(mindspore ge_client)
endif () endif ()
......
...@@ -129,7 +129,7 @@ add_executable(ut_tests ${UT_SRCS} ${MINDSPORE_SRC_LIST} ${UT_SUTB_SRC_LIST}) ...@@ -129,7 +129,7 @@ add_executable(ut_tests ${UT_SRCS} ${MINDSPORE_SRC_LIST} ${UT_SUTB_SRC_LIST})
if (ENABLE_GE) if (ENABLE_GE)
if(ENABLE_TRAIN) if(ENABLE_TRAIN)
target_link_libraries(ut_tests PRIVATE graph ge_client_train) target_link_libraries(ut_tests PRIVATE graph ge_runner)
else() else()
target_link_libraries(ut_tests PRIVATE graph ge_client) target_link_libraries(ut_tests PRIVATE graph ge_client)
endif() endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册