diff options
author | Jakub Marcowski <01158831@pw.edu.pl> | 2024-02-07 19:55:27 +0100 |
---|---|---|
committer | Jakub Marcowski <chubercikbattle@gmail.com> | 2024-02-22 12:25:27 +0100 |
commit | 1be2fe1f7b97b8d70048bdec14a9ef8beb5db013 (patch) | |
tree | ab92188d780e90de557349bfe8e9d3ed86e3214b /modules/ktx | |
parent | 16d61427cab3a8e43f0a9a8ee724fc176b6433c6 (diff) | |
download | redot-engine-1be2fe1f7b97b8d70048bdec14a9ef8beb5db013.tar.gz |
libktx: Update to 4.3.1
Diffstat (limited to 'modules/ktx')
-rw-r--r-- | modules/ktx/SCsub | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/ktx/SCsub b/modules/ktx/SCsub index b160f7a287..acdb829979 100644 --- a/modules/ktx/SCsub +++ b/modules/ktx/SCsub @@ -16,10 +16,12 @@ thirdparty_sources = [ "lib/filestream.c", "lib/hashlist.c", "lib/memstream.c", + "lib/miniz_wrapper.cpp", "lib/swap.c", "lib/texture.c", "lib/texture1.c", "lib/texture2.c", + "lib/vkformat_check.c", "lib/dfdutils/createdfd.c", "lib/dfdutils/colourspaces.c", "lib/dfdutils/interpretdfd.c", @@ -33,7 +35,11 @@ env_ktx.Prepend(CPPPATH=[thirdparty_dir + "include"]) env_ktx.Prepend(CPPPATH=[thirdparty_dir + "utils"]) env_ktx.Prepend(CPPPATH=[thirdparty_dir + "lib"]) env_ktx.Prepend(CPPPATH=[thirdparty_dir + "other_include"]) + env_ktx.Prepend(CPPPATH=["#thirdparty/basis_universal"]) +if env.editor_build: + # We already build miniz in the basis_universal module (editor only). + env_ktx.Append(CPPDEFINES=["MINIZ_HEADER_FILE_ONLY"]) if env["vulkan"]: env_ktx.Prepend(CPPPATH=["#thirdparty/vulkan/include"]) |