Added -no-rtti for Visual
This commit is contained in:
parent
26086d4284
commit
65e8048c77
|
@ -202,6 +202,7 @@ set CMAKE_CONFIG_FILE="%INSTALLATION_DIR%CMakeLists.txt.in"
|
|||
>>"%CMAKE_CONFIG_FILE%" echo if (CMAKE_BUILD_TYPE STREQUAL "Server")
|
||||
>>"%CMAKE_CONFIG_FILE%" echo # Prevent exceptions
|
||||
>>"%CMAKE_CONFIG_FILE%" echo add_compile_options(-fno-rtti)
|
||||
>>"%CMAKE_CONFIG_FILE%" echo add_compile_options(/GR-)
|
||||
>>"%CMAKE_CONFIG_FILE%" echo add_compile_options(-fno-exceptions)
|
||||
>>"%CMAKE_CONFIG_FILE%" echo add_definitions(-DASIO_NO_EXCEPTIONS)
|
||||
>>"%CMAKE_CONFIG_FILE%" echo add_definitions(-DBOOST_NO_EXCEPTIONS)
|
||||
|
|
Loading…
Reference in New Issue