diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:45 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-05 16:20:46 (GMT) |
commit | f0aa660772565545cbcda9ed8ae946b8d5097416 (patch) | |
tree | bb2cebad21b46bd465c4e5aaf16654a40e88576e /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 766839c56da82e12b6986fb5cf7c8d86442615bc (diff) | |
download | CMake-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.cxx | 2 |
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; |