summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
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)