diff --git a/CMakeLists.txt b/CMakeLists.txt index 7408e19..aaebef0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 17) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall -Wextra -Wpedantic -Werror) - add_compile_options(-Wno-error=switch) add_link_options("-Wl,-z,relro,-z,now,-z,defs") endif()