提交 194ba688 编写于 作者: L LuoYin

update CMakeLists.txt of unittest_cpp to support Mindspore Build

上级 225139a0
......@@ -14,4 +14,8 @@ file(
add_executable(unittest_main ${UT_CPP_SRC})
target_link_libraries(unittest_main gtest akg ${TVM_RUNTIME_LINKER_LIBS} ${CMAKE_DL_LIBS})
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
target_link_libraries(unittest_main PRIVATE gtest akg ${TVM_RUNTIME_LINKER_LIBS} pthread util dl)
else()
target_link_libraries(unittest_main PRIVATE gtest akg ${TVM_RUNTIME_LINKER_LIBS})
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册