move cmake check into vSMC