summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-12 14:34:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-12 14:34:11 (GMT)
commit7a08f0d8dd7c4337c397b1227c2d3792c2a21215 (patch)
tree30584728075a243f4f959b4d585e5dd71740e352 /Source/cmLocalGenerator.cxx
parentcba091d3a900d69961ef94a475c3ba1b0cb94453 (diff)
parent48d1456b3d2f180acb3afba26a480f3b72fd3ddd (diff)
downloadCMake-7a08f0d8dd7c4337c397b1227c2d3792c2a21215.zip
CMake-7a08f0d8dd7c4337c397b1227c2d3792c2a21215.tar.gz
CMake-7a08f0d8dd7c4337c397b1227c2d3792c2a21215.tar.bz2
Merge topic 'resolve-full-path-at-generate-time' into release-3.16
48d1456b3d UnityBuild: Resolve full paths of unity source includes ec2f130aa9 cmFileAPI: Resolve full path in PCH source comparison Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4029
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6a9cb23..827f55a 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2487,7 +2487,7 @@ void cmLocalGenerator::AddUnityBuild(cmGeneratorTarget* target)
file << beforeInclude << "\n";
}
- file << "#include \"" << sf->GetFullPath() << "\"\n";
+ file << "#include \"" << sf->ResolveFullPath() << "\"\n";
if (afterInclude) {
file << afterInclude << "\n";