Commit 8dba2782 authored by Jan Kiene's avatar Jan Kiene
Browse files

only add WX in non-split-rendering builds

parent f1e0630c
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -112,8 +112,9 @@ elseif(WIN32)
    -D_CRT_SECURE_NO_WARNINGS
    /MP
  )
  string(REGEX REPLACE "/W3" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
  # add_compile_options("/WX")
  if(NOT INCLUDE_SPLIT)
    add_compile_options("/W4 /WX")
  endif()
endif()

# configuration options for all platforms