File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
4646 /wd4711 # function 'x' selected for automatic inline expansion
4747 /wd4710 # function not inlined
4848 /experimental:external /external:anglebrackets /external:templates- /external:W0
49- /GR- # disable run-time type information
49+ # /GR- # do not disable run-time type information, it can be needed by libraries we depend on, like boost
5050 /guard:cf # enable control-flow guard
5151 /EHa # enable C++ EH (w/ SEH exceptions)
5252 )
@@ -58,10 +58,6 @@ else()
5858 target_compile_options (signalrclient PRIVATE -Wall)
5959 endif ()
6060
61- # GCC on OSX has a bug with exceptions and no-rtti that can cause crashes
62- if (NOT APPLE )
63- target_compile_options (signalrclient PRIVATE -fno-rtti)
64- endif ()
6561 target_compile_options (signalrclient PRIVATE -Wextra -Wpedantic -Wno-unknown-pragmas)
6662endif ()
6763
You can’t perform that action at this time.
0 commit comments