summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-11-11 12:05:31 (GMT)
committerDaniel Eiband <daniel.eiband@brainlab.com>2019-11-11 12:05:31 (GMT)
commit48d1456b3d2f180acb3afba26a480f3b72fd3ddd (patch)
treeffbfb2fd39c76863c5a706bbe62b3f7555093e7d /Source
parentec2f130aa9bf97860789c524c0b9902856e4bf18 (diff)
downloadCMake-48d1456b3d2f180acb3afba26a480f3b72fd3ddd.zip
CMake-48d1456b3d2f180acb3afba26a480f3b72fd3ddd.tar.gz
CMake-48d1456b3d2f180acb3afba26a480f3b72fd3ddd.tar.bz2
UnityBuild: Resolve full paths of unity source includes
Issue: 19927
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 00bd8af..e200894 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2488,7 +2488,7 @@ void cmLocalGenerator::AddUnityBuild(cmGeneratorTarget* target)
file << beforeInclude << "\n";
}
- file << "#include \"" << sf->GetFullPath() << "\"\n";
+ file << "#include \"" << sf->ResolveFullPath() << "\"\n";
if (afterInclude) {
file << afterInclude << "\n";