File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Source/UnrealEnginePython Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ public UnrealEnginePython(TargetInfo Target)
217217 string libPath = GetMacPythonLibFile ( pythonHome ) ;
218218 PublicLibraryPaths . Add ( Path . GetDirectoryName ( libPath ) ) ;
219219 PublicDelayLoadDLLs . Add ( libPath ) ;
220- PublicDefinitions . Add ( string . Format ( "UNREAL_ENGINE_PYTHON_ON_MAC" ) ) ;
220+ Definitions . Add ( string . Format ( "UNREAL_ENGINE_PYTHON_ON_MAC" ) ) ;
221221 }
222222 else if ( Target . Platform == UnrealTargetPlatform . Linux )
223223 {
@@ -242,13 +242,13 @@ public UnrealEnginePython(TargetInfo Target)
242242 PublicIncludePaths . Add ( items [ 0 ] ) ;
243243 PublicAdditionalLibraries . Add ( items [ 1 ] ) ;
244244 }
245- PublicDefinitions . Add ( string . Format ( "UNREAL_ENGINE_PYTHON_ON_LINUX" ) ) ;
245+ Definitions . Add ( string . Format ( "UNREAL_ENGINE_PYTHON_ON_LINUX" ) ) ;
246246 }
247247
248248 string enableThreads = System . Environment . GetEnvironmentVariable ( "UEP_ENABLE_THREADS" ) ;
249249 if ( ! string . IsNullOrEmpty ( enableThreads ) )
250250 {
251- PublicDefinitions . Add ( "UEPY_THREADING" ) ;
251+ Definitions . Add ( "UEPY_THREADING" ) ;
252252 System . Console . WriteLine ( "*** Enabled Python Threads support ***" ) ;
253253 }
254254
You can’t perform that action at this time.
0 commit comments