mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
fix deprecation warning
This commit is contained in:
parent
e7ae040795
commit
f2d0f936b0
@ -283,7 +283,7 @@ local function cmake_build(dep_folder, is_32, extra_cmd_defs, c_flags_init, cxx_
|
||||
end
|
||||
|
||||
if #toolchain_file_content > 0 then
|
||||
local toolchain_file = path.join(dep_base, 'toolchain_' .. tostring(is_32) .. '_' .. _ACTION .. '_' .. _OS .. '.precmt')
|
||||
local toolchain_file = path.join(dep_base, 'toolchain_' .. tostring(is_32) .. '_' .. _ACTION .. '_' .. os.target() .. '.precmt')
|
||||
if not io.writefile(toolchain_file, toolchain_file_content) then
|
||||
error("failed to write cmake toolchain")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user