diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-01-09 19:40:44 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-01-16 18:54:25 (GMT) |
commit | fd84f510f8f22244853115782af58cad5884934b (patch) | |
tree | fb4f0cde8ac9fc344203187c96a6029707c9b6ff | |
parent | 3a5cc52f07def2783d1ad7681499b22a7cf20b59 (diff) | |
download | CMake-fd84f510f8f22244853115782af58cad5884934b.zip CMake-fd84f510f8f22244853115782af58cad5884934b.tar.gz CMake-fd84f510f8f22244853115782af58cad5884934b.tar.bz2 |
cmLocalGenerator: simplify the current source dir query
-rw-r--r-- | Source/cmLocalGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 18f82dd..f9d8e55 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2003,8 +2003,7 @@ bool cmLocalGenerator::GetRealDependency(const std::string& inName, // Treat the name as relative to the source directory in which it // was given. - dep = cmStrCat(this->StateSnapshot.GetDirectory().GetCurrentSource(), '/', - inName); + dep = cmStrCat(this->GetCurrentSourceDirectory(), '/', inName); return true; } |