|
|
@@ -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)
|
|
|
);
|