added changes from #105: MSVC fixes

- additionally, switch off optimization flags to maybe allow build to
complete on AppVeyor
This commit is contained in:
Niels 2015-07-16 18:45:19 +02:00
parent e007f02c54
commit 5084159048
4 changed files with 64 additions and 47 deletions

View file

@ -8,7 +8,7 @@ add_executable(json_unit
if(MSVC)
set(CMAKE_CXX_FLAGS
"/EHsc"
"/EHsc /Od"
)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
else(MSVC)