summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio71Generator.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/cmGlobalVisualStudio71Generator.cxx
parent84fb579fc8935202bf182bbd1685aff6acc2a3b5 (diff)
downloadCMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.zip
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.gz
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.bz2
VS: Port TargetIsFortranOnly to cmGeneratorTarget
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index adf5c67..195aaa0 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -158,7 +158,7 @@ cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout,
const char* ext = ".vcproj";
const char* project =
"Project(\"{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\") = \"";
- if(this->TargetIsFortranOnly(*t->Target))
+ if(this->TargetIsFortranOnly(t))
{
ext = ".vfproj";
project = "Project(\"{6989167D-11E4-40FE-8C1A-2192A86A7E90}\") = \"";