summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 16:17:55 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 21:41:29 (GMT)
commitdf42dbb3558a6ba604ab584b21dfe7f8722eb025 (patch)
tree3d45a381504584b3ae8a726962a596fcfe76777a /Source/cmLocalGenerator.cxx
parenta8429a402da4aeb717f4af234c8d14d1c4e10ed7 (diff)
downloadCMake-df42dbb3558a6ba604ab584b21dfe7f8722eb025.zip
CMake-df42dbb3558a6ba604ab584b21dfe7f8722eb025.tar.gz
CMake-df42dbb3558a6ba604ab584b21dfe7f8722eb025.tar.bz2
cmGeneratorTarget: Move link implementation from cmTarget.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6647894..06eb004 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1152,8 +1152,8 @@ void cmLocalGenerator::AddCompileOptions(
}
for(std::map<std::string, std::string>::const_iterator it
- = target->GetMaxLanguageStandards().begin();
- it != target->GetMaxLanguageStandards().end(); ++it)
+ = gtgt->GetMaxLanguageStandards().begin();
+ it != gtgt->GetMaxLanguageStandards().end(); ++it)
{
const char* standard = target->GetProperty(it->first + "_STANDARD");
if(!standard)