summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.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/cmVisualStudio10TargetGenerator.cxx
parent84fb579fc8935202bf182bbd1685aff6acc2a3b5 (diff)
downloadCMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.zip
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.gz
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.bz2
VS: Port TargetIsFortranOnly to cmGeneratorTarget
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 3f8e627..2bb67fd 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2886,7 +2886,7 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences()
// skip fortran targets as they can not be processed by MSBuild
// the only reference will be in the .sln file
if(static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator)
- ->TargetIsFortranOnly(*dt->Target))
+ ->TargetIsFortranOnly(dt))
{
continue;
}