[cmake] yet another macro switch default warning fix