mirror of
https://github.com/facebook/zstd.git
synced 2025-10-05 00:07:15 -04:00
Update zstd.lua
This commit is contained in:
parent
23d77c531e
commit
1a61bdb9c0
@ -57,11 +57,12 @@ function project_zstd(dir, compression, decompression, deprecated, dictbuilder,
|
||||
}
|
||||
end
|
||||
|
||||
if legacy < 8 then
|
||||
files {
|
||||
dir .. 'legacy/zstd_v0' .. (legacy - 7) .. '.*'
|
||||
}
|
||||
else
|
||||
if legacy ~= 0 then
|
||||
if legacy >= 8 then
|
||||
files {
|
||||
dir .. 'legacy/zstd_v0' .. (legacy - 7) .. '.*'
|
||||
}
|
||||
end
|
||||
includedirs {
|
||||
dir .. 'legacy'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user