diff --git a/scripts/genie.lua b/scripts/genie.lua index aec61f04bae..3843bbc7666 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -273,11 +273,14 @@ elseif _OPTIONS["osd"]=="sdl" then } end -configuration { "mingw* or vs*", "x64" } +if _OPTIONS["targetos"]=="windows" then +configuration { "x64" } defines { "X64_WINDOWS_ABI", } configuration { } +end + -- Avoid error when invoking genie --help. if (_ACTION == nil) then return false end