xenia/third_party/zstd.lua
Margen67 b56c56faee [premake] Only define ZSTD_DISABLE_ASM on non-MSVC
MSVC doesn't compile with BMI(2) by default so there's no point.
DYNAMIC_BMI2 needs to be defined to enable it, but it's disabled since it bloats binary size.
2025-08-22 06:22:07 -07:00

12 lines
302 B
Lua

include("third_party/zstd/contrib/premake/zstd.lua")
group("third_party")
project("zstd")
uuid("df336aac-f0c8-11ed-a05b-0242ac120003")
-- https://gitlab.kitware.com/cmake/cmake/-/issues/25744
filter({"toolset:not msc"})
defines({
"ZSTD_DISABLE_ASM",
})
project_zstd("zstd/lib/")