Merge topic 'fix-COMPILE_OPTIONS-transitive-performance-regression'
477e413
Add missing 'seen' check for evaluating COMPILE_OPTIONS.
This commit is contained in:
commit
37e34be0f5
|
@ -34,7 +34,8 @@ cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
|
||||||
this->CheckResult = this->checkGraph();
|
this->CheckResult = this->checkGraph();
|
||||||
|
|
||||||
if (CheckResult == DAG && (top->EvaluatingIncludeDirectories()
|
if (CheckResult == DAG && (top->EvaluatingIncludeDirectories()
|
||||||
|| top->EvaluatingCompileDefinitions()))
|
|| top->EvaluatingCompileDefinitions()
|
||||||
|
|| top->EvaluatingCompileOptions()))
|
||||||
{
|
{
|
||||||
std::map<cmStdString, std::set<cmStdString> >::const_iterator it
|
std::map<cmStdString, std::set<cmStdString> >::const_iterator it
|
||||||
= top->Seen.find(target);
|
= top->Seen.find(target);
|
||||||
|
|
Loading…
Reference in New Issue