summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-22 16:43:15 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-22 16:46:16 (GMT)
commit5d30cfc5f70e9bf7f604a64ca47d4c5cd213d11f (patch)
treed425962a17a9634684acecde4e7747562d4c515d
parent33c63b19ab4f192f95c72735d810ef3921370d1f (diff)
downloadCMake-5d30cfc5f70e9bf7f604a64ca47d4c5cd213d11f.zip
CMake-5d30cfc5f70e9bf7f604a64ca47d4c5cd213d11f.tar.gz
CMake-5d30cfc5f70e9bf7f604a64ca47d4c5cd213d11f.tar.bz2
Set a watch on variables added through the gui
-rw-r--r--Source/QtDialog/QCMake.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index c319cb4..48871c2 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -249,6 +249,8 @@ void QCMake::setProperties(const QCMakePropertyList& newProps)
// add some new properites
foreach(QCMakeProperty s, props)
{
+ this->CMakeInstance->WatchUnusedCli(s.Key.toAscii().data());
+
if(s.Type == QCMakeProperty::BOOL)
{
this->CMakeInstance->AddCacheEntry(s.Key.toAscii().data(),