From a48aa90f70c4be147e69b754483c7886db6d2ee0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 1 Nov 2022 16:39:30 +0100 Subject: cmake --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e08dcc93..410c0921 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,6 @@ if(MSVC) endif() else() add_compile_options(-fuse-cxa-atexit) - add_compile_options(-fno-rtti) endif() if(CMAKE_CXX_COMPILER_ID MATCHES "Clang$") @@ -122,9 +121,7 @@ if(MSVC) add_definitions(/FI"compat/prelude.hpp") else() add_definitions(-include compat/prelude.hpp) - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang$") - add_compile_options(-Wimplicit-fallthrough -Werror=implicit-fallthrough) - endif() + add_compile_options(-fno-rtti) if(NOT APPLE AND NOT WIN32) add_compile_options(-fno-plt) endif() -- cgit v1.2.3