diff --git a/scripts/genie.lua b/scripts/genie.lua index 2134fed8018..fac4d560039 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -633,7 +633,7 @@ if _OPTIONS["VERBOSE"] then end -- only show deprecation warnings when enabled -if _OPTIONS["DEPRECATED"]=="1" then +if _OPTIONS["DEPRECATED"]~="1" then buildoptions { "-Wno-deprecated-declarations" }