Skip to content

Commit

Permalink
Fix case in Build.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
tustanivsky committed Dec 30, 2024
1 parent d54c0dd commit ecf086d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin-dev/Source/Sentry/Sentry.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public bool Load(ReadOnlyTargetRules target, ModuleRules rules)

m_cmakeTargetPath=Path.GetFullPath(rules.Target.ProjectFile.FullName);
Console.WriteLine("Loading cmake path=: "+Directory .GetParent(m_cmakeTargetPath).FullName);
m_cmakeTargetPath=Directory .GetParent(m_cmakeTargetPath).FullName+"/Plugins/Sentry/sentry-native";
m_cmakeTargetPath=Directory .GetParent(m_cmakeTargetPath).FullName+"/Plugins/sentry/sentry-native";

m_modulePath=Path.GetFullPath(rules.ModuleDirectory);
m_targetPath=Path.Combine(m_modulePath, m_targetLocation);
Expand Down Expand Up @@ -544,7 +544,7 @@ public Sentry(ReadOnlyTargetRules Target) : base(Target)
if (PublicDefinitions.Contains("USE_SENTRY_NATIVE=1"))
{
var cmakeTargetPath = Path.GetFullPath(Target.ProjectFile.FullName);
var targetLocation = Directory.GetParent(cmakeTargetPath).FullName + "/Plugins/Sentry/sentry-native";
var targetLocation = Directory.GetParent(cmakeTargetPath).FullName + "/Plugins/sentry/sentry-native";

CMakeTargetInst cmakeTarget =
new CMakeTargetInst("sentry-native", Target.Platform.ToString(), targetLocation, "");
Expand Down

0 comments on commit ecf086d

Please sign in to comment.