From 5087d919cc151fee73ba6c1fdd7a46e25f32b8ac Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sat, 1 Aug 2015 10:05:01 -0700 Subject: [PATCH] Don't allow cross-compilation, for now. --- premake5.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/premake5.lua b/premake5.lua index 51d768312..e5c51dcc7 100644 --- a/premake5.lua +++ b/premake5.lua @@ -139,9 +139,13 @@ end solution("xenia") uuid("931ef4b0-6170-4f7a-aaf2-0fece7632747") startproject("xenia-app") - configurations({"Checked", "Debug", "Release"}) - platforms({"Windows", "Linux"}) architecture("x86_64") + if os.is("linux") then + platforms({"Linux"}) + elseif os.is("windows") then + platforms({"Windows"}) + end + configurations({"Checked", "Debug", "Release"}) include("src/xenia") include("src/xenia/app")