// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class AudioFormatOpus : ModuleRules { public AudioFormatOpus(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePathModuleNames.Add("TargetPlatform"); PrivateDependencyModuleNames.AddRange( new string[] { "Core", "Engine" } ); if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.HoloLens) || Target.IsInPlatformGroup(UnrealPlatformGroup.Linux) || (Target.Platform == UnrealTargetPlatform.Mac) ) { AddEngineThirdPartyPrivateStaticDependencies(Target, "libOpus" ); } PublicDefinitions.Add("WITH_OGGVORBIS=1"); } }