mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -06:00
cmLocalGenerator: simplify the current source dir query
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user