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/cmCPluginAPI.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/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 508a83a0c7..f2a1cca252 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -21,6 +21,7 @@ #include "cmMakefile.h" #include "cmCPluginAPI.h" +#include "cmVersion.h" #include "cmSourceFile.h" @@ -65,12 +66,12 @@ unsigned int CCONV cmGetCacheMinorVersion(void *arg) unsigned int CCONV cmGetMajorVersion(void *) { - return cmMakefile::GetMajorVersion(); + return cmVersion::GetMajorVersion(); } unsigned int CCONV cmGetMinorVersion(void *) { - return cmMakefile::GetMinorVersion(); + return cmVersion::GetMinorVersion(); } void CCONV cmAddDefinition(void *arg, const char* name, const char* value) |