Files
UnrealEngineUWP/Engine/Source/ThirdParty/libxml2/libxml2.build.cs
joe kirchoff e4b870ac3b Update external modules to add include paths to PublicSystemIncludePaths rather than PublicIncludePaths
#rnx
#rb trivial

[CL 22876134 by joe kirchoff in ue5-main branch]
2022-10-31 20:55:55 -04:00

28 lines
763 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class libxml2 : ModuleRules
{
const string CurrentLibxml2Version = "libxml2-2.9.10";
public libxml2(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
{
string xml2Path = Path.Combine(Target.UEThirdPartySourceDirectory, "libxml2", CurrentLibxml2Version);
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "zlib");
PublicSystemIncludePaths.Add(Path.Combine(xml2Path, "include"));
PublicAdditionalLibraries.Add(Path.Combine(xml2Path, "lib", Target.Architecture, "libxml2.a"));
}
}
}
}