summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:44:55 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-08-27 13:26:36 (GMT)
commitac46384171c54a0fb9c47c32642fbca4ff1e925b (patch)
tree2bb928672c28c4d42687694ddd16a224516bc398 /Source/cmNinjaNormalTargetGenerator.cxx
parent998d9ee967f6795c71ff23cf16601f7e974b21ba (diff)
downloadCMake-ac46384171c54a0fb9c47c32642fbca4ff1e925b.zip
CMake-ac46384171c54a0fb9c47c32642fbca4ff1e925b.tar.gz
CMake-ac46384171c54a0fb9c47c32642fbca4ff1e925b.tar.bz2
Convert: Replace uses of Convert(NONE)
These are equivalent to ConvertToOutputFormat.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index d0db133..335b552 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -543,8 +543,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
std::string install_dir =
this->GetGeneratorTarget()->GetInstallNameDirForBuildTree(cfgName);
if (!install_dir.empty()) {
- vars["INSTALLNAME_DIR"] = localGen.Convert(
- install_dir, cmOutputConverter::NONE, cmOutputConverter::SHELL);
+ vars["INSTALLNAME_DIR"] = localGen.ConvertToOutputFormat(
+ install_dir, cmOutputConverter::SHELL);
}
}
}