add .rc to cmake