diff --git a/.gitmodules b/.gitmodules index a5388af69..69218b8fa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -97,3 +97,6 @@ [submodule "third_party/rapidcsv"] path = third_party/rapidcsv url = https://github.com/d99kris/rapidcsv +[submodule "third_party/zlib"] + path = third_party/zlib + url = https://github.com/madler/zlib.git diff --git a/premake5.lua b/premake5.lua index 1faedd90c..3528b634c 100644 --- a/premake5.lua +++ b/premake5.lua @@ -262,6 +262,7 @@ workspace("xenia") include("third_party/xxhash.lua") include("third_party/zarchive.lua") include("third_party/zstd.lua") + include("third_party/zlib.lua") if not os.istarget("android") then -- SDL2 requires sdl2-config, and as of November 2020 isn't high-quality on diff --git a/third_party/zlib b/third_party/zlib new file mode 160000 index 000000000..51b7f2abd --- /dev/null +++ b/third_party/zlib @@ -0,0 +1 @@ +Subproject commit 51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf diff --git a/third_party/zlib.lua b/third_party/zlib.lua new file mode 100644 index 000000000..2003eef00 --- /dev/null +++ b/third_party/zlib.lua @@ -0,0 +1,9 @@ +group("third_party") +project("zlib") + uuid("13d4073d-f1c9-47e3-a057-79b133596fc2") + kind("StaticLib") + language("C") + files({ + "zlib/*.c", + "zlib/*.h", + }) \ No newline at end of file