summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerator.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-04-03 10:29:47 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-04-03 15:20:30 (GMT)
commit719b24c87244ac612cfdc85da0e75140b87df673 (patch)
treebca356c3144c4d2313e8229430161e261e05fb8c /Source/cmQtAutoGenerator.cxx
parent9a736158150852e9d011fabc0f4a33ce039be6fc (diff)
downloadCMake-719b24c87244ac612cfdc85da0e75140b87df673.zip
CMake-719b24c87244ac612cfdc85da0e75140b87df673.tar.gz
CMake-719b24c87244ac612cfdc85da0e75140b87df673.tar.bz2
Autogen: Protected calls to cmQtAutoGen::SubDirPrefix
Diffstat (limited to 'Source/cmQtAutoGenerator.cxx')
-rw-r--r--Source/cmQtAutoGenerator.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerator.cxx b/Source/cmQtAutoGenerator.cxx
index 77bf2ec..b5e1301 100644
--- a/Source/cmQtAutoGenerator.cxx
+++ b/Source/cmQtAutoGenerator.cxx
@@ -190,6 +190,13 @@ std::string cmQtAutoGenerator::FileSystem::GetFilenameWithoutLastExtension(
return cmSystemTools::GetFilenameWithoutLastExtension(filename);
}
+std::string cmQtAutoGenerator::FileSystem::SubDirPrefix(
+ std::string const& filename)
+{
+ std::lock_guard<std::mutex> lock(Mutex_);
+ return cmQtAutoGen::SubDirPrefix(filename);
+}
+
bool cmQtAutoGenerator::FileSystem::FileExists(std::string const& filename)
{
std::lock_guard<std::mutex> lock(Mutex_);