From 48d1456b3d2f180acb3afba26a480f3b72fd3ddd Mon Sep 17 00:00:00 2001 From: Daniel Eiband Date: Mon, 11 Nov 2019 13:05:31 +0100 Subject: UnityBuild: Resolve full paths of unity source includes Issue: 19927 --- Source/cmLocalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v0.12