diff --git a/CMakeLists.txt b/CMakeLists.txt index c4f7f7c..16ac1cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,9 @@ if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 14) endif() +# Suppress all warnings +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w") + if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall -Wextra -Wpedantic) endif()