update cmake support asm compile

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