Cmake only adds the /clr option for debug mode. If building a release version just switch on /clr until a cmake solution is implemented.