From d120d6bb4bfd9265fcf8970abcdac0bcd80a5528 Mon Sep 17 00:00:00 2001 From: crazytuzi Date: Thu, 28 May 2026 00:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EbUseRelease?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CoreCLR.Build.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CoreCLR.Build.cs b/CoreCLR.Build.cs index c1e1b20..cd50f07 100644 --- a/CoreCLR.Build.cs +++ b/CoreCLR.Build.cs @@ -23,8 +23,11 @@ public class CoreCLR : ModuleRules $"DOTNET_PATCH_VERSION={PatchVersion}" }); - var bIsDebug = Target.Configuration == UnrealTargetConfiguration.Debug || - Target.Configuration == UnrealTargetConfiguration.DebugGame; + var bUseRelease = true; + + var bIsDebug = !bUseRelease && + (Target.Configuration == UnrealTargetConfiguration.Debug || + Target.Configuration == UnrealTargetConfiguration.DebugGame); var CoreCLRConfiguration = bIsDebug ? "Debug" : "Release";