summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/premake5.lua b/premake5.lua
index e0b76fc85..8e02d433f 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -82,8 +82,12 @@ targetName = "%{cfg.system}-%{cfg.platform:lower()}"
workspace "slang"
-- We will support debug/release configuration and x86/x64 builds.
configurations { "Debug", "Release" }
- platforms { "x86", "x64", "aarch64" }
-
+ platforms { "x86", "x64"}
+
+ if os.target() == "linux" then
+ platforms {"aarch64" }
+ end
+
if buildLocation then
location(buildLocation)
end
@@ -107,7 +111,7 @@ workspace "slang"
architecture "x64"
filter { "platforms:x86" }
architecture "x86"
- filter { "platforms:aarch64" }
+ filter { "platforms:aarch64"}
architecture "ARM"
filter { "toolset:clang or gcc*" }