summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.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/cmGlobalVisualStudioGenerator.cxx
parent84fb579fc8935202bf182bbd1685aff6acc2a3b5 (diff)
downloadCMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.zip
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.gz
CMake-8ac8739b2e5df2f36194261f9dcac95107b4b5f7.tar.bz2
VS: Port TargetIsFortranOnly to cmGeneratorTarget
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index c43f884..39a7bda 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -831,10 +831,8 @@ void RegisterVisualStudioMacros(const std::string& macrosFile,
}
}
bool
-cmGlobalVisualStudioGenerator::TargetIsFortranOnly(cmTarget const& target)
+cmGlobalVisualStudioGenerator::TargetIsFortranOnly(cmGeneratorTarget const* gt)
{
- cmGeneratorTarget* gt = this->GetGeneratorTarget(&target);
-
// check to see if this is a fortran build
std::set<std::string> languages;
{