You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
700 B
C#
27 lines
700 B
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class OpenGL : ModuleRules
|
|
{
|
|
public OpenGL(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
|
|
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
|
|
(Target.Platform == UnrealTargetPlatform.Win32))
|
|
{
|
|
PublicAdditionalLibraries.Add("opengl32.lib");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Mac)
|
|
{
|
|
PublicAdditionalFrameworks.Add(new UEBuildFramework("OpenGL"));
|
|
PublicAdditionalFrameworks.Add(new UEBuildFramework("QuartzCore"));
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
PublicAdditionalFrameworks.Add(new UEBuildFramework("OpenGLES"));
|
|
}
|
|
}
|
|
}
|