[cmake] link flags