You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
24 lines
785 B
C#
24 lines
785 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System;
|
|
using System.IO;
|
|
|
|
public class FontConfig : ModuleRules
|
|
{
|
|
protected virtual string ThirdPartyDirectory { get { return Target.UEThirdPartySourceDirectory; } }
|
|
protected virtual string FontConfigVersion { get { return "fontconfig-2.13.94"; } }
|
|
|
|
public FontConfig(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
PublicIncludePaths.Add(Path.Combine(ThirdPartyDirectory, "FontConfig", FontConfigVersion, "include", "fontconfig"));
|
|
|
|
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
|
|
{
|
|
PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyDirectory, "FontConfig", FontConfigVersion, "lib", "Unix", "x86_64-unknown-linux-gpu", "libfontconfig.a"));
|
|
}
|
|
}
|
|
}
|