From fd84f510f8f22244853115782af58cad5884934b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 9 Jan 2020 14:40:44 -0500 Subject: cmLocalGenerator: simplify the current source dir query --- Source/cmLocalGenerator.cxx | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v0.12