Fixed options not being added to the list as lowercase. Fixes: 216

This commit is contained in:
Sam Surtees 2015-08-26 21:24:55 +10:00
parent b44a08ee55
commit 06f928e964

View File

@ -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