Fix bimg build for asmjs (nw)

This commit is contained in:
algestam 2019-10-20 16:07:48 +02:00 committed by Justin Kerk
parent c24d44ec62
commit 4d3a474283

View File

@ -1209,8 +1209,8 @@ project "bimg"
configuration { }
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" then
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then
if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then
buildoptions_cpp {
"-Wno-unused-const-variable",
}