mirror of
https://github.com/xenia-project/xenia.git
synced 2026-02-05 07:14:15 +01:00
[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.
This commit is contained in:
parent
a4154b236b
commit
b56c56faee
9
third_party/zstd.lua
vendored
9
third_party/zstd.lua
vendored
|
|
@ -3,8 +3,9 @@ include("third_party/zstd/contrib/premake/zstd.lua")
|
|||
group("third_party")
|
||||
project("zstd")
|
||||
uuid("df336aac-f0c8-11ed-a05b-0242ac120003")
|
||||
-- TODO: https://github.com/facebook/zstd/issues/3278
|
||||
--defines({
|
||||
-- "ZSTD_DISABLE_ASM",
|
||||
--})
|
||||
-- https://gitlab.kitware.com/cmake/cmake/-/issues/25744
|
||||
filter({"toolset:not msc"})
|
||||
defines({
|
||||
"ZSTD_DISABLE_ASM",
|
||||
})
|
||||
project_zstd("zstd/lib/")
|
||||
|
|
|
|||
Loading…
Reference in a new issue