diff --git a/CMakeLists.txt b/CMakeLists.txt index d2251c622c..b4f0cf6ddf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -235,6 +235,10 @@ if(PCAPPP_TARGET_COMPILER_CLANG add_compile_options(-Wall) endif() +if(PCAPPP_BUILD_FUZZERS) + add_compile_options(-w) +endif() + # Static linking GCC/Threads for minGW (Windows + GNU) if(MINGW) add_link_options(-static-libgcc -static-libstdc++)