diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 16:39:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 16:39:30 +0100 |
commit | a48aa90f70c4be147e69b754483c7886db6d2ee0 (patch) | |
tree | 98f47290a2fe22d043296b21e146693d82a87a3d | |
parent | a7cfef3c3a0f1cadfd8dcfb142fbfa26ef03b413 (diff) |
cmake
-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() |