summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-29 20:59:16 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-29 20:59:16 (GMT)
commitccb77b65c673037780483e23c7bc1b4bf1d17cbc (patch)
tree0cd149a96082da683a29bb31a6bfc0f60555e0d5 /Source/cmCPluginAPI.cxx
parent46f8ed064820ec7a9d645a55a1ad7a0d3d7b8134 (diff)
downloadCMake-ccb77b65c673037780483e23c7bc1b4bf1d17cbc.zip
CMake-ccb77b65c673037780483e23c7bc1b4bf1d17cbc.tar.gz
CMake-ccb77b65c673037780483e23c7bc1b4bf1d17cbc.tar.bz2
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.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 508a83a..f2a1cca 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)