Fix some include paths.

This commit is contained in:
Relintai 2023-12-17 14:31:23 +01:00
parent c4cb4e366b
commit 9de06eb989
4 changed files with 6 additions and 6 deletions

View File

@ -64,7 +64,7 @@ thirdparty_misc_sources = [thirdparty_misc_dir + file for file in thirdparty_mis
env_thirdparty.add_source_files(thirdparty_obj, thirdparty_misc_sources)
# Zlib library, can be unbundled
thirdparty_zlib_dir = "thirdparty/zlib/"
thirdparty_zlib_dir = "#core/thirdparty/zlib/"
thirdparty_zlib_sources = [
"adler32.c",
"compress.c",

View File

@ -6,7 +6,7 @@ thirdparty_obj = []
if env["platform"] in ["haiku", "osx", "windows", "x11"]:
# Thirdparty source files
thirdparty_dir = "glad/"
thirdparty_dir = "#drivers/gl_context/glad/"
thirdparty_sources = [
"glad.c",
]

View File

@ -11,7 +11,7 @@ env_freetype = env_modules.Clone()
thirdparty_obj = []
thirdparty_dir = "freetype/"
thirdparty_dir = "#modules/freetype/freetype/"
thirdparty_sources = [
"src/autofit/autofit.c",
"src/base/ftbase.c",
@ -59,7 +59,7 @@ thirdparty_sources = [
]
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
thirdparty_brotli_dir = "brotli/"
thirdparty_brotli_dir = "#modules/freetype/brotli/"
thirdparty_brotli_sources = [
"common/constants.c",
"common/context.c",
@ -91,7 +91,7 @@ if env["target"] == "debug":
env_freetype.Append(CPPDEFINES=["ZLIB_DEBUG"])
# Also requires libpng headers
env_freetype.Prepend(CPPPATH=["#modules/png/libpng"])
env_freetype.Prepend(CPPPATH=["#modules/png/libpng/"])
sfnt = thirdparty_dir + "src/sfnt/sfnt.c"
# Must be done after all CPPDEFINES are being set so we can copy them.

View File

@ -9,7 +9,7 @@ env_png = env_modules.Clone()
thirdparty_obj = []
thirdparty_dir = "libpng/"
thirdparty_dir = "#modules/png/libpng/"
thirdparty_sources = [
"png.c",
"pngerror.c",