diff options
-rw-r--r-- | Source/cmPolicies.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 119d908..c2d5f6d 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -139,7 +139,7 @@ static void DiagnoseAncientPolicies( static bool GetPolicyDefault(cmMakefile* mf, std::string const& policy, cmPolicies::PolicyStatus* defaultSetting) { - std::string defaultVar = "CMAKE_POLICY_DEFAULT_" + policy; + std::string defaultVar = cmStrCat("CMAKE_POLICY_DEFAULT_", policy); std::string const& defaultValue = mf->GetSafeDefinition(defaultVar); if (defaultValue == "NEW") { *defaultSetting = cmPolicies::NEW; |