summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-23 16:26:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-24 07:19:57 (GMT)
commit8ac8739b2e5df2f36194261f9dcac95107b4b5f7 (patch)
tree0cdf925989664eb574abc68bdf3cc1b568f36ec6 /Source/cmLocalVisualStudio10Generator.cxx
parent84fb579fc8935202bf182bbd1685aff6acc2a3b5 (diff)
downloadCMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.zip
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.gz
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.bz2
VS: Port TargetIsFortranOnly to cmGeneratorTarget
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio10Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx
index 0040331..d59fdc6 100644
--- a/Source/cmLocalVisualStudio10Generator.cxx
+++ b/Source/cmLocalVisualStudio10Generator.cxx
@@ -83,7 +83,7 @@ void cmLocalVisualStudio10Generator::Generate()
continue;
}
if(static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator)
- ->TargetIsFortranOnly(*(*l)->Target))
+ ->TargetIsFortranOnly(*l))
{
this->CreateSingleVCProj((*l)->GetName().c_str(), *l);
}