Fix for Lyra Shipping Client/Server compilation

#rb dan.oconnor

[CL 35816084 by jodon karlik in ue5-main branch]
This commit is contained in:
jodon karlik
2024-08-26 19:39:20 -04:00
parent 3276d93439
commit fa805db5a3

View File

@@ -88,6 +88,7 @@ public class LyraGame : ModuleRules
// Basic setup for External RPC Framework.
// Functionality within framework will be stripped in shipping to remove vulnerabilities.
PrivateDependencyModuleNames.Add("ExternalRpcRegistry");
PrivateDependencyModuleNames.Add("HTTPServer"); // Dependency for ExternalRpcRegistry
if (Target.Configuration == UnrealTargetConfiguration.Shipping)
{
PublicDefinitions.Add("WITH_RPC_REGISTRY=0");
@@ -95,7 +96,6 @@ public class LyraGame : ModuleRules
}
else
{
PrivateDependencyModuleNames.Add("HTTPServer");
PublicDefinitions.Add("WITH_RPC_REGISTRY=1");
PublicDefinitions.Add("WITH_HTTPSERVER_LISTENERS=1");
}