diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 1 insertions, 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() |