summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinrich5991 <heinrich5991@gmail.com>2018-09-12 22:13:59 +0200
committerheinrich5991 <heinrich5991@gmail.com>2018-10-12 22:09:04 +0200
commitb519c3ce07e2d4bb3443628b5bdffb71cde43931 (patch)
treee0b10cd92ac0edaaaf99db057aedc5fe98c2ab4f
parent1bb680a49b256b9641baed44ef8a8c5a485285ba (diff)
Reintroduce bam version check
-rw-r--r--bam.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/bam.lua b/bam.lua
index a4babf407..da1eb8aca 100644
--- a/bam.lua
+++ b/bam.lua
@@ -1,3 +1,8 @@
+if _VERSION == "Lua 5.1" then
+ CheckVersion("0.4")
+else
+ CheckVersion("0.5")
+end
Import("configure.lua")
Import("other/sdl/sdl.lua")