mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-04-22 06:02:06 +02:00
fix deprecation warning
This commit is contained in:
parent
e7ae040795
commit
f2d0f936b0
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ local function cmake_build(dep_folder, is_32, extra_cmd_defs, c_flags_init, cxx_
|
||||||
end
|
end
|
||||||
|
|
||||||
if #toolchain_file_content > 0 then
|
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
|
if not io.writefile(toolchain_file, toolchain_file_content) then
|
||||||
error("failed to write cmake toolchain")
|
error("failed to write cmake toolchain")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue