summaryrefslogtreecommitdiff
path: root/Source/cmCMakeMinimumRequired.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-29 15:59:16 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-29 15:59:16 -0500
commitccb77b65c673037780483e23c7bc1b4bf1d17cbc (patch)
tree0cd149a96082da683a29bb31a6bfc0f60555e0d5 /Source/cmCMakeMinimumRequired.cxx
parent46f8ed064820ec7a9d645a55a1ad7a0d3d7b8134 (diff)
downloadcmake-ccb77b65c673037780483e23c7bc1b4bf1d17cbc.tar.gz
ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion
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 3ee7c2713f..f9ddd5742a 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.