From 1e1db4732380530c01868837436f77defe49b7cb Mon Sep 17 00:00:00 2001 From: Margen67 Date: Sun, 17 Aug 2025 00:44:39 -0700 Subject: [PATCH] Remove need for trailing forward slash in dir --- contrib/premake/zstd.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/premake/zstd.lua b/contrib/premake/zstd.lua index df1ace3ee..f3fd5b293 100644 --- a/contrib/premake/zstd.lua +++ b/contrib/premake/zstd.lua @@ -2,6 +2,7 @@ -- Basic usage: project_zstd(ZSTD_DIR) 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 decompression == nil then decompression = true end if deprecated == nil then deprecated = false end -- 2.47.2