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")
46
46
/wd4711 # function 'x' selected for automatic inline expansion
47
47
/wd4710 # function not inlined
48
48
/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
50
50
/guard:cf # enable control-flow guard
51
51
/EHa # enable C++ EH (w/ SEH exceptions)
52
52
)
@@ -58,10 +58,6 @@ else()
58
58
target_compile_options (signalrclient PRIVATE -Wall )
59
59
endif ()
60
60
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 ()
65
61
target_compile_options (signalrclient PRIVATE -Wextra -Wpedantic -Wno-unknown-pragmas )
66
62
endif ()
67
63
You can’t perform that action at this time.
0 commit comments