@@ -20,25 +20,54 @@ public Blu(TargetInfo Target)
2020
2121 bool isLibrarySupported = false ;
2222
23- if ( ( Target . Platform == UnrealTargetPlatform . Win64 ) )
23+ if ( ( Target . Platform == UnrealTargetPlatform . Win64 ) || ( Target . Platform == UnrealTargetPlatform . Linux ) )
2424 {
2525 isLibrarySupported = true ;
2626
27+
28+ /** //// Start Windows platform //// **/
29+
30+ if ( ( Target . Platform == UnrealTargetPlatform . Win64 ) )
31+ {
32+ PublicAdditionalLibraries . Add ( Path . Combine ( ThirdPartyPath , "cef/Win/lib" , "libcef.lib" ) ) ;
33+ PublicAdditionalLibraries . Add ( Path . Combine ( ThirdPartyPath , "cef/Win/lib" , "libcef_dll_wrapper.lib" ) ) ;
34+
35+ PublicIncludePaths . AddRange (
36+ new string [ ] {
37+ Path . Combine ( ThirdPartyPath , "cef/Win" ) ,
38+ Path . Combine ( ModulePath , "Blu/Public" )
39+ } ) ;
40+ }
41+
42+ /** //// End Windows platform //// **/
43+
44+
45+ /** //// Start Linux 64 platform //// **/
46+
47+ else if ( ( Target . Platform == UnrealTargetPlatform . Linux ) )
48+ {
49+
50+ PublicAdditionalLibraries . Add ( Path . Combine ( ThirdPartyPath , "cef/Linux/lib" , "libcef.so" ) ) ;
51+ PublicAdditionalLibraries . Add ( Path . Combine ( ThirdPartyPath , "cef/Linux/lib" , "libcef_dll_wrapper.a" ) ) ;
52+
53+ PublicIncludePaths . AddRange (
54+ new string [ ] {
55+ Path . Combine ( ThirdPartyPath , "cef/Linux" ) ,
56+ Path . Combine ( ModulePath , "Blu/Public" )
57+ } ) ;
58+
59+ }
60+
61+ /** //// End Linux 64 platform //// **/
62+
63+
64+ /** //// General Libs + Includes //// **/
65+
2766 PrivateIncludePaths . AddRange (
2867 new string [ ] {
2968 Path . Combine ( ModulePath , "Private" )
30- // ... add other private include paths required here ...
3169 } ) ;
3270
33- PublicIncludePaths . AddRange (
34- new string [ ] {
35- Path . Combine ( ThirdPartyPath , "cef/Win" ) ,
36- Path . Combine ( ModulePath , "Blu/Public" )
37- } ) ;
38-
39- PublicAdditionalLibraries . Add ( Path . Combine ( ThirdPartyPath , "cef/Win/lib" , "libcef.lib" ) ) ;
40- PublicAdditionalLibraries . Add ( Path . Combine ( ThirdPartyPath , "cef/Win/lib" , "libcef_dll_wrapper.lib" ) ) ;
41-
4271 PublicDependencyModuleNames . AddRange (
4372 new string [ ]
4473 {
@@ -53,7 +82,6 @@ public Blu(TargetInfo Target)
5382 "UMG" ,
5483 "Json" ,
5584 "JsonUtilities"
56- // ... add other public dependencies that you statically link with here ...
5785 } ) ;
5886
5987 }
0 commit comments