Skip to content

Commit 39bfb9e

Browse files
committed
refine warning message
test=release/1.1
1 parent 5545d64 commit 39bfb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,5 +309,5 @@ if (ON_INFER)
309309
add_definitions(-DPADDLE_ON_INFERENCE)
310310
else()
311311
#TODO(luotao), combine this warning with `make inference_lib_dist` command.
312-
message(WARNING "On inference mode, will take place some specific optimization. Only used in make inference_lib_dist.")
312+
message(WARNING "On inference mode, will take place some specific optimization. Turn on the ON_INFER flag when building inference_lib only.")
313313
endif()

0 commit comments

Comments
 (0)