We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Wno-*
leveldb
1 parent 2638fdb commit 9e4a4b4Copy full SHA for 9e4a4b4
cmake/leveldb.cmake
@@ -88,9 +88,11 @@ if(MSVC)
88
_CRT_NONSTDC_NO_WARNINGS
89
)
90
else()
91
- target_compile_options(nowarn_leveldb_interface INTERFACE
92
- -Wno-conditional-uninitialized
93
- -Wno-suggest-override
+ try_append_cxx_flags("-Wconditional-uninitialized" TARGET nowarn_leveldb_interface SKIP_LINK
+ IF_CHECK_PASSED "-Wno-conditional-uninitialized"
+ )
94
+ try_append_cxx_flags("-Wsuggest-override" TARGET nowarn_leveldb_interface SKIP_LINK
95
+ IF_CHECK_PASSED "-Wno-suggest-override"
96
97
endif()
98
0 commit comments