Skip to content

Commit 58cb5e8

Browse files
committed
Win64 DependencyModule
1 parent a838319 commit 58cb5e8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Source/UnrealEnginePython/UnrealEnginePython.Build.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,13 @@ public UnrealEnginePython(TargetInfo Target)
219219

220220
if (Target.Platform == UnrealTargetPlatform.Win64)
221221
{
222-
string PythonHome = Path.Combine(Target.UEThirdPartyBinariesDirectory, "Python3/Win64");
223-
PublicIncludePaths.Add(PythonHome);
224222
string LibPath = Path.Combine(Target.UEThirdPartySourceDirectory, "Python3/Win64/libs/python39.lib");
225223
PublicSystemLibraryPaths.Add(Path.GetDirectoryName(LibPath));
226-
PublicAdditionalLibraries.Add(LibPath);
224+
PrivateDependencyModuleNames.AddRange(
225+
new string[] {
226+
"Python3"
227+
}
228+
);
227229
}
228230
else if (Target.Platform == UnrealTargetPlatform.Mac)
229231
{

0 commit comments

Comments
 (0)