summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp4
-rw-r--r--Source/cmaketest.cxx1
2 files changed, 3 insertions, 2 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index af13b7d..3f1fb8f 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -593,7 +593,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
m_CacheEntriesList.AddProperty(key,
"ON",
value.m_HelpString.c_str(),
- CPropertyList::CHECKBOX,"",
+ CPropertyList::COMBO,"ON|OFF",
reverseOrder
);
}
@@ -602,7 +602,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
m_CacheEntriesList.AddProperty(key,
"OFF",
value.m_HelpString.c_str(),
- CPropertyList::CHECKBOX,"",
+ CPropertyList::COMBO,"ON|OFF",
reverseOrder
);
}
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx
index eae3046..7a4e215 100644
--- a/Source/cmaketest.cxx
+++ b/Source/cmaketest.cxx
@@ -126,5 +126,6 @@ int main (int argc, char *argv[])
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
+ cmMakefileGenerator::UnRegisterGenerators();
return 0;
}