From 3da3436e241156145da541489c1eec310eae4983 Mon Sep 17 00:00:00 2001 From: getnamo Date: Sat, 10 Nov 2018 04:13:42 -0800 Subject: [PATCH] 4.21 update --- Source/TensorFlow/Private/TensorFlow.cpp | 1 + Source/TensorFlow/Private/TensorFlowBlueprintLibrary.cpp | 2 +- Source/TensorFlow/TensorFlow.Build.cs | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/TensorFlow/Private/TensorFlow.cpp b/Source/TensorFlow/Private/TensorFlow.cpp index e29f193..8d33fba 100644 --- a/Source/TensorFlow/Private/TensorFlow.cpp +++ b/Source/TensorFlow/Private/TensorFlow.cpp @@ -1,5 +1,6 @@ // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. +#include "TensorFlow.h" #include "TensorFlowPrivatePCH.h" #include "UnrealEnginePython.h" #include "IPluginManager.h" diff --git a/Source/TensorFlow/Private/TensorFlowBlueprintLibrary.cpp b/Source/TensorFlow/Private/TensorFlowBlueprintLibrary.cpp index 312d4ee..b3405c4 100644 --- a/Source/TensorFlow/Private/TensorFlowBlueprintLibrary.cpp +++ b/Source/TensorFlow/Private/TensorFlowBlueprintLibrary.cpp @@ -1,9 +1,9 @@ // Fill out your copyright notice in the Description page of Project Settings. +#include "TensorFlowBlueprintLibrary.h" #include "TensorFlowPrivatePCH.h" #include "RHI.h" #include "Runtime/Engine/Classes/Engine/TextureRenderTarget2D.h" -#include "TensorFlowBlueprintLibrary.h" TArray UTensorFlowBlueprintLibrary::Conv_GreyScaleTexture2DToFloatArray(UTexture2D* InTexture) diff --git a/Source/TensorFlow/TensorFlow.Build.cs b/Source/TensorFlow/TensorFlow.Build.cs index 97cccb8..5279131 100644 --- a/Source/TensorFlow/TensorFlow.Build.cs +++ b/Source/TensorFlow/TensorFlow.Build.cs @@ -54,8 +54,10 @@ public void AddScriptsAsDependencies(ReadOnlyTargetRules Target) public TensorFlow(ReadOnlyTargetRules Target) : base(Target) { + PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; + PrivatePCHHeaderFile = "Private/TensorFlowPrivatePCH.h"; - PublicIncludePaths.AddRange( + PublicIncludePaths.AddRange( new string[] { "TensorFlow/Public" // ... add public include paths required here ...