We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2eeafe commit 6fedad0Copy full SHA for 6fedad0
1 file changed
CMakeLists.txt
@@ -239,8 +239,6 @@ else()
239
AVO_COMPILER_SUPPORTS_WFORMAT_SECURITY)
240
check_cxx_compiler_flag(-Werror=format-security
241
AVO_COMPILER_SUPPORTS_WERROR_FORMAT_SECURITY)
242
- check_cxx_compiler_flag(-Wno-unused
243
- AVO_COMPILER_SUPPORTS_WNO_UNUSED)
244
245
if(AVO_COMPILER_SUPPORTS_WALL)
246
add_compile_options(-Wall)
@@ -251,9 +249,6 @@ else()
251
249
if(AVO_COMPILER_SUPPORTS_WERROR_FORMAT_SECURITY)
252
250
add_compile_options(-Werror=format-security)
253
endif()
254
- if(AVO_COMPILER_SUPPORTS_WNO_UNUSED)
255
- add_compile_options(-Wno-unused)
256
- endif()
257
258
259
if(NOT MSVC)
0 commit comments