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