Files
joe kirchoff 8fd578651a Reference DirectX module for the include path rather than using a static function
#rnx
#jira UE-186136

[CL 26478273 by joe kirchoff in 5.3 branch]
2023-07-19 20:45:32 -04:00

24 lines
529 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class DirectSound : ModuleRules
{
public DirectSound(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows))
{
PublicDependencyModuleNames.Add("DirectX");
string DirectXLibDir = DirectX.GetLibDir(Target);
PublicAdditionalLibraries.AddRange(
new string[] {
DirectXLibDir + "dxguid.lib",
DirectXLibDir + "dsound.lib"
}
);
}
}
}