summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
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