cmLocalGenerator: Use own IssueMessage method

This commit is contained in:
Brad King 2016-04-14 16:35:12 -04:00
parent c50285dee6
commit cc7aed77a8
1 changed files with 2 additions and 2 deletions

View File

@ -1608,7 +1608,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
"For compatibility with older versions of CMake, "
"additional flags may be added to export symbols on all "
"executables regardless of thier ENABLE_EXPORTS property.";
this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
this->IssueMessage(cmake::AUTHOR_WARNING, w.str());
}
case cmPolicies::OLD:
// OLD behavior is to always add the flags
@ -1616,7 +1616,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
break;
case cmPolicies::REQUIRED_IF_USED:
case cmPolicies::REQUIRED_ALWAYS:
this->Makefile->IssueMessage(
this->IssueMessage(
cmake::FATAL_ERROR,
cmPolicies::GetRequiredPolicyError(cmPolicies::CMP0065)
);