Skip to content

Commit 1cb7e56

Browse files
committed
Ensure we can find the includes
1 parent 50fad50 commit 1cb7e56

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎Source/UnrealEnginePython/Private/UnrealEnginePythonPrivatePCH.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#include <Python.h>
2626
#include <structmember.h>
2727
#else
28-
#include <include/Python.h>
29-
#include <include/structmember.h>
28+
#include <Include/Python.h>
29+
#include <Include/structmember.h>
3030
#endif
3131

3232
#include "UEPyModule.h"

‎Source/UnrealEnginePython/UnrealEnginePython.Build.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public UnrealEnginePython(TargetInfo Target)
3838
PrivateIncludePaths.AddRange(
3939
new string[] {
4040
"UnrealEnginePython/Private",
41+
PythonHome
4142
// ... add other private include paths required here ...
4243
}
4344
);

0 commit comments

Comments
 (0)