Fix linking platform-specific online modules into the engine

This commit is contained in:
2026-08-10 20:28:58 +02:00
parent b57c837157
commit ab84878fc3
+3
View File
@@ -46,12 +46,15 @@ public class Engine : EngineModule
{
case TargetPlatform.PS4:
options.SourcePaths.Add(Path.Combine(Globals.EngineRoot, "Source", "Platforms", "PS4", "Engine", "Engine"));
options.PublicDependencies.Add("OnlinePlatformPS4");
break;
case TargetPlatform.PS5:
options.SourcePaths.Add(Path.Combine(Globals.EngineRoot, "Source", "Platforms", "PS5", "Engine", "Engine"));
options.PublicDependencies.Add("OnlinePlatformPS5");
break;
case TargetPlatform.Switch:
options.SourcePaths.Add(Path.Combine(Globals.EngineRoot, "Source", "Platforms", "Switch", "Engine", "Engine"));
options.PublicDependencies.Add("OnlinePlatformSwitch");
break;
}
}