未验证 提交 9cdf30dc 编写于 作者: R ronnywang 提交者: GitHub

[CustomDevice] turn on WITH_CUSTOM_DEVICE when WITH_PYTHON=ON (#47108)

上级 178d7e5e
......@@ -337,7 +337,7 @@ endif()
if(LINUX
AND NOT WITH_CUSTOM_DEVICE
AND NOT ON_INFER)
AND WITH_PYTHON)
set(WITH_CUSTOM_DEVICE
ON
CACHE BOOL "Enable Custom Device when compiling for Linux" FORCE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册