Merge pull request #1224 from WorldofBay/patch-1

add missing local
This commit is contained in:
Samuel Surtees 2019-01-13 23:02:44 +10:00 committed by GitHub
commit ada0d6c361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2265,7 +2265,7 @@
function m.precompiledHeader(cfg, condition)
prjcfg, filecfg = p.config.normalize(cfg)
local prjcfg, filecfg = p.config.normalize(cfg)
if filecfg then
if prjcfg.pchsource == filecfg.abspath and not prjcfg.flags.NoPCH then
m.element('PrecompiledHeader', condition, 'Create')