|
@@ -1177,7 +1177,7 @@ std::vector<BT<std::string>> cmLocalGenerator::GetIncludeDirectoriesImplicit(
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
for (std::string const& i : impDirVec) {
|
|
for (std::string const& i : impDirVec) {
|
|
|
- if (implicitSet.insert(cmSystemTools::GetRealPath(i)).second) {
|
|
|
|
|
|
|
+ if (implicitSet.insert(this->GlobalGenerator->GetRealPath(i)).second) {
|
|
|
implicitDirs.emplace_back(i);
|
|
implicitDirs.emplace_back(i);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1188,7 +1188,7 @@ std::vector<BT<std::string>> cmLocalGenerator::GetIncludeDirectoriesImplicit(
|
|
|
&lang](std::string const& dir) {
|
|
&lang](std::string const& dir) {
|
|
|
return (
|
|
return (
|
|
|
// Do not exclude directories that are not in an excluded set.
|
|
// Do not exclude directories that are not in an excluded set.
|
|
|
- ((!cmContains(implicitSet, cmSystemTools::GetRealPath(dir))) &&
|
|
|
|
|
|
|
+ ((!cmContains(implicitSet, this->GlobalGenerator->GetRealPath(dir))) &&
|
|
|
(!cmContains(implicitExclude, dir)))
|
|
(!cmContains(implicitExclude, dir)))
|
|
|
// Do not exclude entries of the CPATH environment variable even though
|
|
// Do not exclude entries of the CPATH environment variable even though
|
|
|
// they are implicitly searched by the compiler. They are meant to be
|
|
// they are implicitly searched by the compiler. They are meant to be
|