This commit is contained in:
Hennadii Stepanov 2025-01-08 20:44:33 +01:00 committed by GitHub
commit 2ef1ceee8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,9 +88,11 @@ if(MSVC)
_CRT_NONSTDC_NO_WARNINGS
)
else()
target_compile_options(nowarn_leveldb_interface INTERFACE
-Wno-conditional-uninitialized
-Wno-suggest-override
try_append_cxx_flags("-Wconditional-uninitialized" TARGET nowarn_leveldb_interface SKIP_LINK
IF_CHECK_PASSED "-Wno-conditional-uninitialized"
)
try_append_cxx_flags("-Wsuggest-override" TARGET nowarn_leveldb_interface SKIP_LINK
IF_CHECK_PASSED "-Wno-suggest-override"
)
endif()