fixed: guard cmake policy command by version check