We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a838319 commit 58cb5e8Copy full SHA for 58cb5e8
Source/UnrealEnginePython/UnrealEnginePython.Build.cs
@@ -219,11 +219,13 @@ public UnrealEnginePython(TargetInfo Target)
219
220
if (Target.Platform == UnrealTargetPlatform.Win64)
221
{
222
- string PythonHome = Path.Combine(Target.UEThirdPartyBinariesDirectory, "Python3/Win64");
223
- PublicIncludePaths.Add(PythonHome);
224
string LibPath = Path.Combine(Target.UEThirdPartySourceDirectory, "Python3/Win64/libs/python39.lib");
225
PublicSystemLibraryPaths.Add(Path.GetDirectoryName(LibPath));
226
- PublicAdditionalLibraries.Add(LibPath);
+ PrivateDependencyModuleNames.AddRange(
+ new string[] {
+ "Python3"
227
+ }
228
+ );
229
}
230
else if (Target.Platform == UnrealTargetPlatform.Mac)
231
0 commit comments