summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-04 17:43:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-06 07:15:56 (GMT)
commit4d8b79ad7e132ff876d131526a03a21c4f424f33 (patch)
tree395cb9b56a0bb4499d0862799d5321bfe5a38002 /Source/cmComputeLinkInformation.cxx
parent8680520feab8421f79c9762f1d3b6b92384c0b1e (diff)
downloadCMake-4d8b79ad7e132ff876d131526a03a21c4f424f33.zip
CMake-4d8b79ad7e132ff876d131526a03a21c4f424f33.tar.gz
CMake-4d8b79ad7e132ff876d131526a03a21c4f424f33.tar.bz2
cmComputeLinkInformation: Port to cmOutputConverter.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index e6cbe60..1f3046a 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -16,7 +16,7 @@
#include "cmGlobalGenerator.h"
#include "cmState.h"
-#include "cmLocalGenerator.h"
+#include "cmOutputConverter.h"
#include "cmMakefile.h"
#include "cmTarget.h"
#include "cmake.h"
@@ -246,7 +246,6 @@ cmComputeLinkInformation
// Store context information.
this->Target = target;
this->Makefile = this->Target->GetMakefile();
- this->LocalGenerator = this->Makefile->GetLocalGenerator();
this->GlobalGenerator = this->Makefile->GetGlobalGenerator();
this->CMakeInstance = this->GlobalGenerator->GetCMakeInstance();
@@ -1395,7 +1394,8 @@ void cmComputeLinkInformation::AddFrameworkItem(std::string const& item)
// Add the item using the -framework option.
this->Items.push_back(Item("-framework", false));
- fw = this->LocalGenerator->EscapeForShell(fw);
+ cmOutputConverter converter(this->Makefile->GetStateSnapshot());
+ fw = converter.EscapeForShell(fw);
this->Items.push_back(Item(fw, false));
}