From 42e8d29742e6435970a5bba32a8a6dc208170ef8 Mon Sep 17 00:00:00 2001 From: smf- Date: Sat, 25 Apr 2020 03:40:45 +0100 Subject: unbreak vs2019 after 822e05189678719821c9ec715f07f2424086a82d (nw) --- scripts/src/3rdparty.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/src/3rdparty.lua') diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 455255725eb..4cb22313ae2 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -745,7 +745,7 @@ end "_7ZIP_ST", } - if string.find(_OPTIONS["gcc"], "clang") and str_to_version(_OPTIONS["gcc_version"]) >= 100000 then + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") and str_to_version(_OPTIONS["gcc_version"]) >= 100000 then buildoptions_c { "-Wno-misleading-indentation", } @@ -1512,7 +1512,7 @@ project "portaudio" } end end - if string.find(_OPTIONS["gcc"], "clang") and version >= 100000 then + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") and version >= 100000 then buildoptions_c { "-Wno-misleading-indentation", } -- cgit v1.2.3-70-g09d2