Browse Source

cmake: reenable RTTI

liz-no-rtti-allowance
Caio Oliveira 11 hours ago
parent
commit
1c6a63d4ec
No known key found for this signature in database GPG Key ID: AAAE6C7FD4186B0C
  1. 2
      src/CMakeLists.txt

2
src/CMakeLists.txt

@ -97,7 +97,6 @@ if (MSVC AND NOT CXX_CLANG)
$<$<CONFIG:Release>:/GS-> # No stack buffer overflow checks
/Gy # Enable function level linking
/GR- # Disable run time type information
)
if (NOT CXX_CLANG)
@ -118,7 +117,6 @@ else()
if (NOT MSVC)
add_compile_options(
-fwrapv
-fno-rtti # Disable RTTI
-pipe
)
endif()

Loading…
Cancel
Save