From 39bfb9e5c3b89cb1b447824d7a5c66a2232e2def Mon Sep 17 00:00:00 2001 From: Tao Luo Date: Mon, 29 Oct 2018 20:02:35 +0800 Subject: [PATCH] refine warning message test=release/1.1 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 97af6192c..7a7b5860a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -309,5 +309,5 @@ if (ON_INFER) add_definitions(-DPADDLE_ON_INFERENCE) else() #TODO(luotao), combine this warning with `make inference_lib_dist` command. - message(WARNING "On inference mode, will take place some specific optimization. Only used in make inference_lib_dist.") + message(WARNING "On inference mode, will take place some specific optimization. Turn on the ON_INFER flag when building inference_lib only.") endif() -- GitLab