From a532710f76f3ed401c0d0e13b622169aa36eda34 Mon Sep 17 00:00:00 2001 From: Yuanle Liu Date: Wed, 5 Jul 2023 16:31:35 +0800 Subject: [PATCH] fix WITH_SHARED_IR option type (#55147) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42019395dbb..632cf33100c 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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( -- GitLab