move cmake checks into vSMCExample