diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-25 14:56:52 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 21:07:46 (GMT) |
commit | 11165525ba663b4cd7a188c6b698822b8480aafb (patch) | |
tree | 7a3440126a1359759ff20ee78d3d444bd23dfe70 /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 1fdccff5894914d4408e64c0b55e52c376e64ad4 (diff) | |
download | CMake-11165525ba663b4cd7a188c6b698822b8480aafb.zip CMake-11165525ba663b4cd7a188c6b698822b8480aafb.tar.gz CMake-11165525ba663b4cd7a188c6b698822b8480aafb.tar.bz2 |
cmGeneratorExpression: Port to cmLocalGenerator.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index f4166b9..8651e2f 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -1016,7 +1016,8 @@ cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild( cmGeneratorExpression ge; cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(propertyValue); - if(cmSystemTools::IsOn(cge->Evaluate(target->GetMakefile(), *i))) + cmGeneratorTarget* gt = this->GetGeneratorTarget(target); + if(cmSystemTools::IsOn(cge->Evaluate(gt->GetLocalGenerator(), *i))) { activeConfigs.insert(*i); } |