Browse Source

cmLocalGenerator: Use own IssueMessage method

Brad King 9 years ago
parent
commit
cc7aed77a8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmLocalGenerator.cxx

+ 2 - 2
Source/cmLocalGenerator.cxx

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