diff options
Diffstat (limited to 'Source/CursesDialog/cmCursesLongMessageForm.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesLongMessageForm.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx index 3c4f5e9..04a5d09 100644 --- a/Source/CursesDialog/cmCursesLongMessageForm.cxx +++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx @@ -17,6 +17,7 @@ #include "../cmCacheManager.h" #include "../cmSystemTools.h" #include "../cmake.h" +#include "../cmVersion.h" #include "cmCursesLongMessageForm.h" #include "cmCursesMainForm.h" @@ -79,8 +80,8 @@ void cmCursesLongMessageForm::UpdateStatusBar() char version[cmCursesMainForm::MAX_WIDTH]; char vertmp[128]; - sprintf(vertmp,"CMake Version %d.%d - %s", cmake::GetMajorVersion(), - cmake::GetMinorVersion(),cmake::GetReleaseVersion()); + sprintf(vertmp,"CMake Version %d.%d - %s", cmVersion::GetMajorVersion(), + cmVersion::GetMinorVersion(),cmVersion::GetReleaseVersion()); int sideSpace = (width-strlen(vertmp)); for(int i=0; i<sideSpace; i++) { version[i] = ' '; } sprintf(version+sideSpace, "%s", vertmp); |