未验证 提交 a532710f 编写于 作者: Y Yuanle Liu 提交者: GitHub

fix WITH_SHARED_IR option type (#55147)

上级 54a101d5
......@@ -695,7 +695,7 @@ if(ON_INFER)
add_definitions(-DPADDLE_ON_INFERENCE)
set(WITH_SHARED_IR
OFF
CACHE STRING "Only paddle_inference.so is allowed in inference." FORCE)
CACHE BOOL "Only paddle_inference.so is allowed in inference." FORCE)
else()
#TODO(luotao), combine this warning with `make inference_lib_dist` command.
message(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册