Files
UnrealEngineUWP/Engine/Source/ThirdParty/OpenGL/OpenGL.Build.cs
tony wong 66b362f765 Fortnite: Integrated CL 11846868: Use PublicFrameworks instead of PublicAdditionalFrameworks for system provided frameworks.
#JIRA: None
#rnx


#ROBOMERGE-SOURCE: CL 12249520 via CL 12249524 via CL 12250259
#ROBOMERGE-BOT: (v668-12245121)

[CL 12250506 by tony wong in Main branch]
2020-03-18 15:40:40 -04:00

28 lines
654 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class OpenGL : ModuleRules
{
public OpenGL(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
PublicIncludePaths.Add(ModuleDirectory);
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
(Target.Platform == UnrealTargetPlatform.Win32))
{
PublicSystemLibraries.Add("opengl32.lib");
}
else if (Target.Platform == UnrealTargetPlatform.Mac)
{
PublicFrameworks.Add("OpenGL");
PublicFrameworks.Add("QuartzCore");
}
else if (Target.Platform == UnrealTargetPlatform.IOS)
{
PublicFrameworks.Add("OpenGLES");
}
}
}