add cmake config

Signed-off-by: xiehuc <xiehuc@gmail.com>