mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
cmLocalGenerator: simplify the current source dir query
This commit is contained in:
parent
3a5cc52f07
commit
fd84f510f8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user