From 9d90b02c9a731fa2006af8d911195b054f455bda Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Fri, 21 Jan 2022 16:24:41 +0100 Subject: [PATCH] Fix missing include for Xbox Live services on GDK platforms --- Source/Tools/Flax.Build/Platforms/GDK/GDKToolchain.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Tools/Flax.Build/Platforms/GDK/GDKToolchain.cs b/Source/Tools/Flax.Build/Platforms/GDK/GDKToolchain.cs index b4a230254..72dfeae28 100644 --- a/Source/Tools/Flax.Build/Platforms/GDK/GDKToolchain.cs +++ b/Source/Tools/Flax.Build/Platforms/GDK/GDKToolchain.cs @@ -25,7 +25,9 @@ namespace Flax.Build.Platforms // Setup system paths SystemIncludePaths.Add(Path.Combine(GDK.Instance.RootPath, "GRDK\\GameKit\\Include")); SystemLibraryPaths.Add(Path.Combine(GDK.Instance.RootPath, "GRDK\\GameKit\\Lib\\amd64")); - SystemLibraryPaths.Add(Path.Combine(GDK.Instance.RootPath, "GRDK\\ExtensionLibraries\\Xbox.Services.API.C\\DesignTime\\CommonConfiguration\\Neutral\\Lib\\Release\\" + Toolset)); + var xboxServicesPath = Path.Combine(GDK.Instance.RootPath, "GRDK\\ExtensionLibraries\\Xbox.Services.API.C\\DesignTime\\CommonConfiguration\\Neutral\\"); + SystemIncludePaths.Add(xboxServicesPath + "Include"); + SystemLibraryPaths.Add(xboxServicesPath + "Lib\\Release\\" + Toolset); } ///