diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-07 17:25:29 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-10 09:04:39 (GMT) |
commit | a367416cec8297c5a567825217b933f4539a44e4 (patch) | |
tree | 54d57c0bfd583f97699c7dad5e4d218f16689e20 /Source/cmGlobalGenerator.cxx | |
parent | bbef3c2da83b7a69d1f99b21dc92d5506d98fb35 (diff) | |
download | CMake-a367416cec8297c5a567825217b933f4539a44e4.zip CMake-a367416cec8297c5a567825217b933f4539a44e4.tar.gz CMake-a367416cec8297c5a567825217b933f4539a44e4.tar.bz2 |
cmLocalGenerator: Add current source directory accessor.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index c7e09b9..8693785 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2105,7 +2105,7 @@ cmGlobalGenerator::FindLocalGenerator(const std::string& start_dir) const for(std::vector<cmLocalGenerator*>::const_iterator it = this->LocalGenerators.begin(); it != this->LocalGenerators.end(); ++it) { - std::string sd = (*it)->GetMakefile()->GetCurrentSourceDirectory(); + std::string sd = (*it)->GetCurrentSourceDirectory(); if (sd == start_dir) { return *it; |