You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Remove copy of max 2017 sdk from Enterprise
#rb Jerome.Delattre #jira none #ROBOMERGE-OWNER: ben.marsh #ROBOMERGE-AUTHOR: johan.duparc #ROBOMERGE-SOURCE: CL 9735907 in //UE4/Release-4.24/... via CL 9735952 #ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v545-9751379) [CL 9775197 by johan duparc in Dev-Build branch]
This commit is contained in:
@@ -24,12 +24,11 @@ namespace UnrealBuildTool.Rules
|
||||
// Max SDK setup
|
||||
{
|
||||
string MaxVersionString = GetMaxVersion();
|
||||
string MaxSDKLocation = "";
|
||||
|
||||
string MaxSDKFolder = "3dsMax" + MaxVersionString + "SDK";
|
||||
string MaxSDKLocation = Path.Combine("..", "..", "Enterprise", "Source", "ThirdParty", "NotForLicensees", MaxSDKFolder);
|
||||
// Try with custom setup
|
||||
string MaxSDKEnvVar = System.Environment.GetEnvironmentVariable("ADSK_3DSMAX_SDK_" + MaxVersionString);
|
||||
|
||||
if (!Directory.Exists(MaxSDKLocation) && MaxSDKEnvVar != null && MaxSDKEnvVar != "")
|
||||
if (MaxSDKEnvVar != null && MaxSDKEnvVar != "")
|
||||
{
|
||||
MaxSDKLocation = MaxSDKEnvVar;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user