summaryrefslogtreecommitdiffstats
path: root/Source/cmExportBuildAndroidMKGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:50:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-09-19 19:36:13 (GMT)
commit516e79ba2722adb662000773e742187815723702 (patch)
treeee2e335fcc93bd82e44d9be7163f856b0c77295a /Source/cmExportBuildAndroidMKGenerator.cxx
parente13e519e1c3f76b826365b5fa72a50dba180c191 (diff)
downloadCMake-516e79ba2722adb662000773e742187815723702.zip
CMake-516e79ba2722adb662000773e742187815723702.tar.gz
CMake-516e79ba2722adb662000773e742187815723702.tar.bz2
Convert: Inline MAKERULE conversions
This is a trivial use of a static method.
Diffstat (limited to 'Source/cmExportBuildAndroidMKGenerator.cxx')
-rw-r--r--Source/cmExportBuildAndroidMKGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportBuildAndroidMKGenerator.cxx b/Source/cmExportBuildAndroidMKGenerator.cxx
index 96080a9..41d2f7a 100644
--- a/Source/cmExportBuildAndroidMKGenerator.cxx
+++ b/Source/cmExportBuildAndroidMKGenerator.cxx
@@ -48,8 +48,8 @@ void cmExportBuildAndroidMKGenerator::GenerateImportTargetCode(
os << "LOCAL_MODULE := ";
os << targetName << "\n";
os << "LOCAL_SRC_FILES := ";
- std::string path = target->GetLocalGenerator()->ConvertToOutputFormat(
- target->GetFullPath(), cmOutputConverter::MAKERULE);
+ std::string path =
+ cmSystemTools::ConvertToOutputPath(target->GetFullPath().c_str());
os << path << "\n";
}