summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2020-04-25 03:40:45 +0100
committer smf- <smf-@users.noreply.github.com>2020-04-25 03:40:45 +0100
commit42e8d29742e6435970a5bba32a8a6dc208170ef8 (patch)
treefd77e47bd4d2e96f032ab5de0c9bdad3cdf90021 /scripts/src
parent4a6bf4e1c0b994919e4641b7210ba1fe59ea05fc (diff)
unbreak vs2019 after 822e05189678719821c9ec715f07f2424086a82d (nw)
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/3rdparty.lua4
1 files changed, 2 insertions, 2 deletions
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",
}