fix visual studio builds after bdb9404c08

This commit is contained in:
smf- 2022-09-15 18:22:03 +01:00
parent bdb9404c08
commit 5acbdb2e86

View File

@ -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",
}