diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-04-03 10:17:14 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-04-03 15:20:30 (GMT) |
commit | 65203ce407f589a6ba148baf64b07ada09205030 (patch) | |
tree | 5b7955575ae7f578ee7f3f8afa822944ef93e2a6 /Source/cmQtAutoGeneratorMocUic.cxx | |
parent | 14a86c9ea7efae1b3acb01bc79f2f1f5ef23c5f1 (diff) | |
download | CMake-65203ce407f589a6ba148baf64b07ada09205030.zip CMake-65203ce407f589a6ba148baf64b07ada09205030.tar.gz CMake-65203ce407f589a6ba148baf64b07ada09205030.tar.bz2 |
Autogen: Protected calls to cmSystemTools::Split/JoinPath
Diffstat (limited to 'Source/cmQtAutoGeneratorMocUic.cxx')
-rw-r--r-- | Source/cmQtAutoGeneratorMocUic.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGeneratorMocUic.cxx b/Source/cmQtAutoGeneratorMocUic.cxx index b034ec7..1cdbb96 100644 --- a/Source/cmQtAutoGeneratorMocUic.cxx +++ b/Source/cmQtAutoGeneratorMocUic.cxx @@ -1503,8 +1503,8 @@ bool cmQtAutoGeneratorMocUic::Init(cmMakefile* makefile) if (cmHasLiteralSuffix(path, ".framework/Headers")) { // Go up twice to get to the framework root std::vector<std::string> pathComponents; - cmSystemTools::SplitPath(path, pathComponents); - std::string frameworkPath = cmSystemTools::JoinPath( + FileSys().SplitPath(path, pathComponents); + std::string frameworkPath = FileSys().JoinPath( pathComponents.begin(), pathComponents.end() - 2); frameworkPaths.insert(frameworkPath); } |