Change compiler options for MSVC.

This fixes issue #458.
This commit is contained in:
Kai Nacke
2014-01-12 22:42:34 +01:00
parent b4b71e6c79
commit e69b1ebb28

View File

@@ -333,7 +333,7 @@ if(GENERATE_OFFTI)
endif()
if(MSVC)
set(EXTRA_CXXFLAGS "/W0 /wd4996 /GF /GR- /RTC1")
set(EXTRA_CXXFLAGS "/W0 /wd4996 /GF /GR-")
else()
set(EXTRA_CXXFLAGS "-fexceptions")
endif()