未验证 提交 2c0160e5 编写于 作者: X xiongkun 提交者: GitHub

add dependences of enforce (#39237)

上级 787980b1
......@@ -11,6 +11,9 @@ endif()
cc_library(errors SRCS errors.cc)
set(pten_enforce_deps errors flags)
if(WITH_GPU)
set(pten_enforce_deps ${pten_enforce_deps} external_error_proto)
endif()
cc_library(pten_enforce INTERFACE SRCS enforce.cc DEPS ${pten_enforce_deps})
cc_library(kernel_factory SRCS kernel_factory.cc DEPS pten_enforce convert_utils)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册