From be91843d8ad9c031bd559a61f5cef0513150f842 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Tue, 28 May 2024 22:23:14 +0300 Subject: [PATCH] build deps in a subfolder according to premake _ACTION --- premake5-deps.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/premake5-deps.lua b/premake5-deps.lua index 87385a25..4d38a603 100644 --- a/premake5-deps.lua +++ b/premake5-deps.lua @@ -146,7 +146,7 @@ end -- common defs --------- -local deps_dir = path.getabsolute(path.join('build', 'deps', os_iden), _MAIN_SCRIPT_DIR) +local deps_dir = path.getabsolute(path.join('build', 'deps', os_iden, _ACTION), _MAIN_SCRIPT_DIR) local third_party_dir = path.getabsolute('third-party') local third_party_deps_dir = path.join(third_party_dir, 'deps', os_iden) local third_party_common_dir = path.join(third_party_dir, 'deps', 'common') @@ -350,6 +350,7 @@ local function cmake_build(dep_folder, is_32, extra_cmd_defs, c_flags_init, cxx_ end end +-- chmod tools if os.host() == "linux" then local ok_chmod, err_chmod = os.chmod(extractor, "777") if not ok_chmod then