Allow ExcludeFromBuild flag to work properly with mapped configurations

This commit is contained in:
Jason Perkins 2014-07-29 16:34:54 -04:00
parent 42cb65e0cb
commit 3a4888b810

View File

@ -211,7 +211,7 @@
local prjCfg = project.getconfig(prj, cfg.buildcfg, cfg.platform)
local excluded = (prjCfg == nil or prjCfg.flags.ExcludeFromBuild)
if excluded then
if prjCfg == nil then
prjCfg = project.findClosestMatch(prj, cfg.buildcfg, cfg.platform)
end