17 lines
535 B
C#
17 lines
535 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
|
|
public class OculusOpenXRLoader : ModuleRules
|
|
{
|
|
public OculusOpenXRLoader(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
if (Target.Platform == UnrealTargetPlatform.Android)
|
|
{
|
|
string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath);
|
|
AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(PluginPath, "OculusOpenXRLoader/OculusOpenXRLoader_APL.xml"));
|
|
}
|
|
}
|
|
} |