Enable warning as error for Windows
This commit is contained in:
parent
abe064cea8
commit
8ce20e2e58
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
################################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue