summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
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/MFCDialog
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/MFCDialog')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 0a605f2..84ed6d1 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -7,6 +7,7 @@
#undef DEBUG
#include "CMakeSetup.h"
#include "MakeHelp.h"
+#include "cmVersion.h"
#include "PathDialog.h"
#include "CMakeSetupDialog.h"
#include "CMakeCommandLineInfo.h"
@@ -323,8 +324,9 @@ BOOL CMakeSetupDialog::OnInitDialog()
// Set the version number
char tmp[1024];
- sprintf(tmp,"CMake %d.%d - %s", cmake::GetMajorVersion(),
- cmake::GetMinorVersion(), cmake::GetReleaseVersion());
+ sprintf(tmp,"CMake %d.%d - %s", cmVersion::GetMajorVersion(),
+ cmVersion::GetMinorVersion(),
+ cmVersion::GetReleaseVersion().c_str());
SetDlgItemText(IDC_PROGRESS, "");
this->SetWindowText(tmp);
this->UpdateData(FALSE);