完成自己的cmake宏.

Signed-off-by: fink <hspan1234@gmail.com>