Fix same cmake compile error.

Signed-off-by: Qiwei.Gu <gqwmail@gmail.com>