diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-29 15:59:16 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-29 15:59:16 -0500 |
commit | ccb77b65c673037780483e23c7bc1b4bf1d17cbc (patch) | |
tree | 0cd149a96082da683a29bb31a6bfc0f60555e0d5 /Source/cmCMakeMinimumRequired.cxx | |
parent | 46f8ed064820ec7a9d645a55a1ad7a0d3d7b8134 (diff) | |
download | cmake-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.cxx | 6 |
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. |