Skip to content

Commit

Permalink
Move include up to ensure its never missed
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaDev5 committed Dec 27, 2024
1 parent e54ea8e commit 99af459
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin-dev/Source/Sentry/Sentry.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ public Sentry(ReadOnlyTargetRules Target) : base(Target)
string intermediatePath =
Path.Combine(Target.ProjectFile.Directory.FullName, "Intermediate", "CMakeTarget", "sentry-native");

Console.WriteLine("Adding include path: "+targetLocation+"/include");
PublicIncludePaths.Add(targetLocation + "/include");

if (Target.Platform == UnrealTargetPlatform.Win64)
{
string buildPath = Path.Combine(intermediatePath, "Win64", "build");
Expand Down Expand Up @@ -597,8 +600,6 @@ public Sentry(ReadOnlyTargetRules Target) : base(Target)
{
Console.WriteLine("Platform not currently supported: " + Target.Platform);
}

PublicIncludePaths.Add(targetLocation + "/include");
}
}
}

0 comments on commit 99af459

Please sign in to comment.