Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/unrealcv/unrealcv into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
qiuwch committed Oct 18, 2017
2 parents 5449bec + e00364f commit 1686fad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Source/UnrealCV/UnrealCV.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ namespace UnrealBuildTool.Rules
{
public class UnrealCV: ModuleRules
{
public UnrealCV(TargetInfo Target)
#if WITH_FORWARDED_MODULE_RULES_CTOR
public UnrealCV(ReadOnlyTargetRules Target) : base(Target)
// 4.16 or better
{
bEnforceIWYU = false;
#else
public UnrealCV(TargetInfo Target) //4.15 or lower
{
#endif
// This trick is from https://answers.unrealengine.com/questions/258689/how-to-include-private-header-files-of-other-modul.html
string EnginePath = Path.GetFullPath(BuildConfiguration.RelativeEnginePath);

Expand Down

0 comments on commit 1686fad

Please sign in to comment.