mirror of
https://github.com/facebook/zstd.git
synced 2025-09-11 11:51:02 +03:00
Merge pull request #4459 from Margen67/premake
Remove need for trailing forward slash in dir
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
-- Basic usage: project_zstd(ZSTD_DIR)
|
-- Basic usage: project_zstd(ZSTD_DIR)
|
||||||
|
|
||||||
function project_zstd(dir, compression, decompression, deprecated, dictbuilder, legacy)
|
function project_zstd(dir, compression, decompression, deprecated, dictbuilder, legacy)
|
||||||
|
if string.sub(dir, -1, 1) ~= '/' then dir = dir .. '/' end
|
||||||
if compression == nil then compression = true end
|
if compression == nil then compression = true end
|
||||||
if decompression == nil then decompression = true end
|
if decompression == nil then decompression = true end
|
||||||
if deprecated == nil then deprecated = false end
|
if deprecated == nil then deprecated = false end
|
||||||
|
Reference in New Issue
Block a user