@@ -84,7 +84,7 @@ if env["thorvg_enabled"] and env["freetype_enabled"]:
8484 thirdparty_tvg_sources = [thirdparty_tvg_dir + file for file in thirdparty_tvg_sources ]
8585
8686 env_tvg .Append (
87- CPPPATH = [
87+ CPPEXTPATH = [
8888 "../../../thirdparty/thorvg/inc" ,
8989 "../../../thirdparty/thorvg/src/common" ,
9090 "../../../thirdparty/thorvg/src/renderer" ,
@@ -101,7 +101,7 @@ if env["thorvg_enabled"] and env["freetype_enabled"]:
101101 env_tvg .Append (CPPDEFINES = ["TVG_STATIC" ])
102102
103103 env .Append (
104- CPPPATH = [
104+ CPPEXTPATH = [
105105 "../../../thirdparty/thorvg/inc" ,
106106 "../../../thirdparty/thorvg/src/common" ,
107107 "../../../thirdparty/thorvg/src/renderer" ,
@@ -149,8 +149,8 @@ if env["msdfgen_enabled"] and env["freetype_enabled"]:
149149 thirdparty_msdfgen_sources = [thirdparty_msdfgen_dir + file for file in thirdparty_msdfgen_sources ]
150150
151151 env_msdfgen .Append (CPPDEFINES = [("MSDFGEN_PUBLIC" , "" )])
152- env_msdfgen .Append (CPPPATH = ["../../../thirdparty/freetype/include" , "../../../thirdparty/msdfgen" ])
153- env .Append (CPPPATH = ["../../../thirdparty/msdfgen" ])
152+ env_msdfgen .Append (CPPEXTPATH = ["../../../thirdparty/freetype/include" , "../../../thirdparty/msdfgen" ])
153+ env .Append (CPPEXTPATH = ["../../../thirdparty/msdfgen" ])
154154 env .Append (CPPDEFINES = [("MSDFGEN_PUBLIC" , "" )])
155155 env .Append (CPPDEFINES = ["MODULE_MSDFGEN_ENABLED" ])
156156
@@ -265,11 +265,11 @@ if env["freetype_enabled"]:
265265 ]
266266 thirdparty_freetype_sources += [thirdparty_brotli_dir + file for file in thirdparty_brotli_sources ]
267267 env_freetype .Append (CPPDEFINES = ["FT_CONFIG_OPTION_USE_BROTLI" ])
268- env_freetype .Prepend (CPPPATH = [thirdparty_brotli_dir + "include" ])
268+ env_freetype .Prepend (CPPEXTPATH = [thirdparty_brotli_dir + "include" ])
269269 env .Append (CPPDEFINES = ["FT_CONFIG_OPTION_USE_BROTLI" ])
270270
271- env_freetype .Append (CPPPATH = [thirdparty_freetype_dir + "/include" , thirdparty_zlib_dir , thirdparty_png_dir ])
272- env .Append (CPPPATH = [thirdparty_freetype_dir + "/include" ])
271+ env_freetype .Append (CPPEXTPATH = [thirdparty_freetype_dir + "/include" , thirdparty_zlib_dir , thirdparty_png_dir ])
272+ env .Append (CPPEXTPATH = [thirdparty_freetype_dir + "/include" ])
273273
274274 env_freetype .Append (
275275 CPPDEFINES = [
@@ -379,7 +379,7 @@ if env["freetype_enabled"]:
379379thirdparty_harfbuzz_sources = [thirdparty_harfbuzz_dir + file for file in thirdparty_harfbuzz_sources ]
380380
381381env_harfbuzz .Append (
382- CPPPATH = [
382+ CPPEXTPATH = [
383383 "../../../thirdparty/harfbuzz/src" ,
384384 "../../../thirdparty/icu4c/common/" ,
385385 "../../../thirdparty/icu4c/i18n/" ,
@@ -388,7 +388,7 @@ env_harfbuzz.Append(
388388
389389if env ["freetype_enabled" ]:
390390 env_harfbuzz .Append (
391- CPPPATH = [
391+ CPPEXTPATH = [
392392 "../../../thirdparty/freetype/include" ,
393393 "../../../thirdparty/graphite/include" ,
394394 ]
@@ -416,7 +416,7 @@ if env["freetype_enabled"]:
416416 ]
417417 )
418418
419- env .Append (CPPPATH = ["../../../thirdparty/harfbuzz/src" ])
419+ env .Append (CPPEXTPATH = ["../../../thirdparty/harfbuzz/src" ])
420420
421421lib = env_harfbuzz .Library (
422422 f"harfbuzz_builtin{ env ['suffix' ]} { env ['LIBSUFFIX' ]} " ,
@@ -469,7 +469,7 @@ if env["graphite_enabled"] and env["freetype_enabled"]:
469469
470470 thirdparty_graphite_sources = [thirdparty_graphite_dir + file for file in thirdparty_graphite_sources ]
471471
472- env_graphite .Append (CPPPATH = ["../../../thirdparty/graphite/src" , "../../../thirdparty/graphite/include" ])
472+ env_graphite .Append (CPPEXTPATH = ["../../../thirdparty/graphite/src" , "../../../thirdparty/graphite/include" ])
473473 env_graphite .Append (
474474 CPPDEFINES = [
475475 "GRAPHITE2_STATIC" ,
@@ -704,11 +704,11 @@ if env["static_icu_data"]:
704704 "../../../thirdparty/icu4c/icudata.gen.h" , "../../../thirdparty/icu4c/icudt_godot.dat" , methods .make_icu_data
705705 )
706706 env .Append (CPPDEFINES = ["ICU_STATIC_DATA" ])
707- env .Append (CPPPATH = ["../../../thirdparty/icu4c/" ])
707+ env .Append (CPPEXTPATH = ["../../../thirdparty/icu4c/" ])
708708else :
709709 thirdparty_icu_sources += ["../icu_data/icudata_stub.cpp" ]
710710
711- env_icu .Append (CPPPATH = ["../../../thirdparty/icu4c/common/" , "../../../thirdparty/icu4c/i18n/" ])
711+ env_icu .Append (CPPEXTPATH = ["../../../thirdparty/icu4c/common/" , "../../../thirdparty/icu4c/i18n/" ])
712712env_icu .Append (
713713 CPPDEFINES = [
714714 "U_STATIC_IMPLEMENTATION" ,
@@ -733,7 +733,7 @@ env.Append(
733733 ("U_LIB_SUFFIX_C_NAME" , "_godot" ),
734734 ]
735735)
736- env .Append (CPPPATH = ["../../../thirdparty/icu4c/common/" , "../../../thirdparty/icu4c/i18n/" ])
736+ env .Append (CPPEXTPATH = ["../../../thirdparty/icu4c/common/" , "../../../thirdparty/icu4c/i18n/" ])
737737
738738if env ["platform" ] == "windows" :
739739 env .Append (LIBS = ["advapi32" ])
0 commit comments