summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:46 (GMT)
commitf0aa660772565545cbcda9ed8ae946b8d5097416 (patch)
treebb2cebad21b46bd465c4e5aaf16654a40e88576e /Source/cmNinjaNormalTargetGenerator.cxx
parent766839c56da82e12b6986fb5cf7c8d86442615bc (diff)
downloadCMake-f0aa660772565545cbcda9ed8ae946b8d5097416.zip
CMake-f0aa660772565545cbcda9ed8ae946b8d5097416.tar.gz
CMake-f0aa660772565545cbcda9ed8ae946b8d5097416.tar.bz2
cmGeneratorTarget: Move HasSOName from cmTarget.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 5d86091..2586b31 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -531,7 +531,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
vars["LANGUAGE_COMPILE_FLAGS"] = t;
}
- if (target.HasSOName(cfgName))
+ if (this->GetGeneratorTarget()->HasSOName(cfgName))
{
vars["SONAME_FLAG"] = mf->GetSONameFlag(this->TargetLinkLanguage);
vars["SONAME"] = this->TargetNameSO;