drop "-Werror" to allow skip warnings on production build

This commit is contained in:
Recep Aslantas
2023-07-08 23:16:15 +03:00
parent 93cdc897a5
commit d6267e623b
4 changed files with 3 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ if(MSVC)
string(REGEX REPLACE "/RTC(su|[1su])" "" ${flag_var} "${${flag_var}}")
endforeach(flag_var)
else()
add_compile_options(-Wall -Werror -O3)
add_compile_options(-Wall -O3)
endif()
get_directory_property(hasParent PARENT_DIRECTORY)