diff options
author | 2022-09-15 18:22:03 +0100 | |
---|---|---|
committer | 2022-09-15 18:22:03 +0100 | |
commit | 5acbdb2e865f6246d25c782c607ce749ff4db12c (patch) | |
tree | 37c369e91f1033677b67fa6819a66b4fc7de9389 | |
parent | bdb9404c08908249210be53ddd640c165e6df1ed (diff) |
fix visual studio builds after bdb9404c08908249210be53ddd640c165e6df1ed
-rw-r--r-- | scripts/src/3rdparty.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 442879da9b5..77707c5d5b2 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -1052,7 +1052,7 @@ end configuration { } - if string.find(_OPTIONS["gcc"], "clang") and str_to_version(_OPTIONS["gcc_version"]) >= 150000 then + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") and str_to_version(_OPTIONS["gcc_version"]) >= 150000 then buildoptions_c { "-Wno-strict-prototypes", } |