[cmake] Forgot to remove broken code