From 06f928e9640f171d3063ec124ab271b0816b32d0 Mon Sep 17 00:00:00 2001 From: Sam Surtees Date: Wed, 26 Aug 2015 21:24:55 +1000 Subject: [PATCH] Fixed options not being added to the list as lowercase. Fixes: 216 --- src/base/option.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/option.lua b/src/base/option.lua index eeaa1ac4..276f60ad 100644 --- a/src/base/option.lua +++ b/src/base/option.lua @@ -87,7 +87,7 @@ end -- add it to the master list - premake.option.list[opt.trigger] = opt + premake.option.list[opt.trigger:lower()] = opt -- if it has a default value, set it. if opt.default and not _OPTIONS[opt.trigger] then