summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-08 17:05:27 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-08 17:05:27 (GMT)
commit9deca5887dc8f8a162b965d042b9afd9c7c1e4dd (patch)
tree65da5c9e3560df5b6096ad868de83e4a51c473cd /Source/cmFindPackageCommand.cxx
parent7432ef206e47118d8812be5dc62c7250c9e0bfdd (diff)
downloadCMake-9deca5887dc8f8a162b965d042b9afd9c7c1e4dd.zip
CMake-9deca5887dc8f8a162b965d042b9afd9c7c1e4dd.tar.gz
CMake-9deca5887dc8f8a162b965d042b9afd9c7c1e4dd.tar.bz2
ENH: remove the watch for the upper case variable name, it breaks the
feature summary, which needs to check for both the upper case and original case _FOUND variables Alex
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 364b64c..de177e8 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -254,10 +254,6 @@ bool cmFindPackageCommand::InitialPass(std::vector<std::string> const& args)
upperDir.c_str(),
cmFindPackageNeedBackwardsCompatibility
);
- this->Makefile->GetVariableWatch()->RemoveWatch(
- upperFound.c_str(),
- cmFindPackageNeedBackwardsCompatibility
- );
}
else
{
@@ -267,10 +263,6 @@ bool cmFindPackageCommand::InitialPass(std::vector<std::string> const& args)
upperDir.c_str(),
cmFindPackageNeedBackwardsCompatibility
);
- this->Makefile->GetVariableWatch()->AddWatch(
- upperFound.c_str(),
- cmFindPackageNeedBackwardsCompatibility
- );
}
}
#endif