mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -05:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user