Commit 2d514a34 authored by Jan Kiene's avatar Jan Kiene
Browse files

treat warnings as errors in windows cmake builds too

parent 29cbb7b4
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ elseif(WIN32)
    /MP
  )
  # CMake sets /W3 by default, until CMake version 3.15. Instead of setting /W4 separately, replace in existing settings
  string(REGEX REPLACE "/W3" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
  string(REGEX REPLACE "/W3" "/W4 /WX" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
endif()

# configuration options for all platforms