From 8ce20e2e583efdb29f67c0d06dfd6449d4e93996 Mon Sep 17 00:00:00 2001 From: litghost Date: Tue, 24 Sep 2013 09:23:56 -0700 Subject: [PATCH] Enable warning as error for Windows --- host/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index f99ae41a..a1a502fc 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -108,8 +108,7 @@ endif("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR # MS Visual Studio ############################### if(MSVC) - # Cannot enable /WX on Windows build just yet, lots of warnings - #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX") endif(MSVC) ################################################################################