提交 eeaf7673 编写于 作者: T tensor-tang

fix depends

上级 83883a2e
...@@ -61,11 +61,11 @@ if(NOT APPLE) ...@@ -61,11 +61,11 @@ if(NOT APPLE)
"if(NOT \"\${symbol_res}\" STREQUAL \"0\")\n" "if(NOT \"\${symbol_res}\" STREQUAL \"0\")\n"
" message(FATAL_ERROR \"Check symbol failed.\")\n" " message(FATAL_ERROR \"Check symbol failed.\")\n"
"endif()\n") "endif()\n")
add_custom_target(check_symbol ALL)
add_custom_command( add_custom_command(
TARGET check_symbol OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/.check_symbol
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/check_symbol.cmake COMMAND ${CMAKE_COMMAND} -P ${cmake_current_binary_dir}/check_symbol.cmake
DEPENDS paddle_inference_api_shared) DEPENDS paddle_inference_api_shared)
add_custom_target(check_symbol ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/.check_symbol)
endif() endif()
cc_test(test_paddle_inference_api cc_test(test_paddle_inference_api
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册