Skip to content

Commit

Permalink
ff
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Apr 11, 2024
1 parent 54cac7b commit eeaee19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/BuildContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public BuildContext(ICakeContext context) : base(context)
DotNetMSBuildSettings = new DotNetMSBuildSettings();
DotNetMSBuildSettings.WithProperty("Version", Version);
DotNetMSBuildSettings.WithProperty("RepositoryUrl", repositoryUrl);
DotNetMSBuildSettings.WithProperty("AndroidSdkDirectory", context.EnvironmentVariable("ANDROID_SDK_ROOT"));

DotNetBuildSettings = new DotNetBuildSettings
{
Expand Down Expand Up @@ -96,9 +97,6 @@ public BuildContext(ICakeContext context) : base(context)
{
// SET MGFXC_WINE_PATH for building shaders on macOS and Linux
System.Environment.SetEnvironmentVariable("MGFXC_WINE_PATH", context.EnvironmentVariable("HOME") + "/.winemonogame");
// SET the ANDROID_SDK_ROOT path for macOS and Linux
System.Environment.SetEnvironmentVariable("ANDROID_SDK_ROOT", context.EnvironmentVariable("ANDROID_SDK_ROOT"));
System.Environment.SetEnvironmentVariable("AndroidSdkDirectory", context.EnvironmentVariable("ANDROID_SDK_ROOT"));
}

context.CreateDirectory(BuildOutput);
Expand Down

0 comments on commit eeaee19

Please sign in to comment.