Removed /WX compile option for MSVC builds.

This commit is contained in:
Nils Daumann 2017-05-24 22:46:55 +02:00
parent 85103e43e4
commit fde62658d8

View file

@ -198,7 +198,7 @@ set(LIBSOUNDIO_LIBS
) )
if(MSVC) if(MSVC)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /WX /Wall") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /Wall")
set(LIB_CFLAGS "/TP /W4") set(LIB_CFLAGS "/TP /W4")
set(EXAMPLE_CFLAGS "/W4") set(EXAMPLE_CFLAGS "/W4")
set(TEST_CFLAGS "${LIB_CFLAGS}") set(TEST_CFLAGS "${LIB_CFLAGS}")