You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-131865 #rnx #preflight 6203ce157244040418587717 #rb Eric.McDaniel [CL 18933171 by David Harvey in ue5-main branch]
27 lines
607 B
C#
27 lines
607 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.IsInGroup(UnrealPlatformGroup.Windows))
|
|
{
|
|
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");
|
|
}
|
|
}
|
|
}
|