Merge pull request #3716

49ade0d cmake: remove werror (selsta)
This commit is contained in:
luigi1111 2021-11-09 22:59:55 -06:00
commit 34893e169e
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -388,8 +388,6 @@ if(APPLE)
endif() endif()
# warnings # warnings
add_c_flag_if_supported(-Werror C_SECURITY_FLAGS)
add_cxx_flag_if_supported(-Werror CXX_SECURITY_FLAGS)
add_c_flag_if_supported(-Wformat C_SECURITY_FLAGS) add_c_flag_if_supported(-Wformat C_SECURITY_FLAGS)
add_cxx_flag_if_supported(-Wformat CXX_SECURITY_FLAGS) add_cxx_flag_if_supported(-Wformat CXX_SECURITY_FLAGS)
add_c_flag_if_supported(-Wformat-security C_SECURITY_FLAGS) add_c_flag_if_supported(-Wformat-security C_SECURITY_FLAGS)