diff --git a/plugin-dev/Source/Sentry/Sentry.Build.cs b/plugin-dev/Source/Sentry/Sentry.Build.cs index 34c7eafc..5e27035b 100644 --- a/plugin-dev/Source/Sentry/Sentry.Build.cs +++ b/plugin-dev/Source/Sentry/Sentry.Build.cs @@ -423,8 +423,8 @@ private bool IsUnixPlatform(UnrealTargetPlatform platform) { public class Sentry : ModuleRules { - [CommandLine("-usebreakpad")] - public bool bUseBreakpad = false; + [CommandLine("-forceBreakpad")] + public bool bForceBreakpad = false; public Sentry(ReadOnlyTargetRules Target) : base(Target) { @@ -502,7 +502,7 @@ public Sentry(ReadOnlyTargetRules Target) : base(Target) PublicDefinitions.Add("USE_SENTRY_NATIVE=1"); PublicDefinitions.Add("SENTRY_BUILD_STATIC=1"); - if (bUseBreakpad) + if (bForceBreakpad) { PublicDefinitions.Add("USE_SENTRY_BREAKPAD=1"); }