cmake: reenable RTTI
This commit is contained in:
parent
ee02e92e51
commit
87ebcb1066
|
|
@ -97,7 +97,6 @@ if (MSVC AND NOT CXX_CLANG)
|
||||||
|
|
||||||
$<$<CONFIG:Release>:/GS-> # No stack buffer overflow checks
|
$<$<CONFIG:Release>:/GS-> # No stack buffer overflow checks
|
||||||
/Gy # Enable function level linking
|
/Gy # Enable function level linking
|
||||||
/GR- # Disable run time type information
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if (NOT CXX_CLANG)
|
if (NOT CXX_CLANG)
|
||||||
|
|
@ -118,7 +117,6 @@ else()
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-fwrapv
|
-fwrapv
|
||||||
-fno-rtti # Disable RTTI
|
|
||||||
-pipe
|
-pipe
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue