提交 c37c8a19 编写于 作者: H hedaoyuan

remove gtest_main_library

上级 6820b8f5
......@@ -154,8 +154,9 @@ endfunction()
# Rest Arguemnts: not used.
function(link_paddle_test TARGET_NAME)
link_paddle_exe(${TARGET_NAME})
target_link_libraries(${TARGET_NAME} ${GTEST_MAIN_LIBRARIES}
${GTEST_LIBRARIES} paddle_test_main)
target_link_libraries(${TARGET_NAME}
${GTEST_LIBRARIES}
paddle_test_main)
endfunction()
# add_unittest_without_exec
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册