summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 419024b..c93e652 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -137,6 +137,10 @@ BOOL CMakeSetupDialog::OnInitDialog()
this->LoadFromRegistry();
// try to load the cmake cache from disk
this->LoadCacheFromDiskToGUI();
+ // Set the version number
+ char tmp[1024];
+ sprintf(tmp,"Version %s", cmMakefile::GetVersion());
+ SetDlgItemText(IDC_CMAKE_VERSION, tmp);
return TRUE; // return TRUE unless you set the focus to a control
}