summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakeMinimumRequired.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCMakeMinimumRequired.cxx')
-rw-r--r--Source/cmCMakeMinimumRequired.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCMakeMinimumRequired.cxx b/Source/cmCMakeMinimumRequired.cxx
index 3ee7c27..f9ddd57 100644
--- a/Source/cmCMakeMinimumRequired.cxx
+++ b/Source/cmCMakeMinimumRequired.cxx
@@ -72,9 +72,9 @@ bool cmCMakeMinimumRequired::InitialPass(std::vector<std::string> const& args)
// Get the current version number.
- int current_major = this->Makefile->GetMajorVersion();
- int current_minor = this->Makefile->GetMinorVersion();
- int current_patch = this->Makefile->GetPatchVersion();
+ int current_major = cmVersion::GetMajorVersion();
+ int current_minor = cmVersion::GetMinorVersion();
+ int current_patch = cmVersion::GetPatchVersion();
// Parse the required version number. If no patch-level is given
// use zero.